fix hooks and missing artifacts
This commit is contained in:
parent
fc3f634d64
commit
692d1d7f04
@ -1,5 +1,2 @@
|
|||||||
<link rel="stylesheet" href="{{ STATIC_PREFIX }}css/main.css" />
|
|
||||||
|
|
||||||
{{ STATIC_PREFIX }}
|
|
||||||
<button class="normal sysinfo-restart"><i class="fa fa-refresh icon-left"></i>{{ l.fleetmode_screen_restart_button_restart }}</button>
|
<button class="normal sysinfo-restart"><i class="fa fa-refresh icon-left"></i>{{ l.fleetmode_screen_restart_button_restart }}</button>
|
||||||
|
|
||||||
|
|||||||
@ -90,5 +90,5 @@ class ObPlugin(abc.ABC):
|
|||||||
request=request,
|
request=request,
|
||||||
url_for=url_for,
|
url_for=url_for,
|
||||||
**parameters,
|
**parameters,
|
||||||
**self._template_renderer.get_view_globals()
|
**self._template_renderer.get_view_globals(),
|
||||||
)
|
)
|
||||||
|
|||||||
@ -35,7 +35,7 @@ class TemplateRenderer:
|
|||||||
content = []
|
content = []
|
||||||
|
|
||||||
for hook_registration in hooks_registrations:
|
for hook_registration in hooks_registrations:
|
||||||
template = hook_registration.plugin.get_rendering_env().get_template("{}/{}".format(
|
template = hook_registration.plugin.get_rendering_env().get_template("@{}/{}".format(
|
||||||
WebDirConstant.FOLDER_PLUGIN_HOOK,
|
WebDirConstant.FOLDER_PLUGIN_HOOK,
|
||||||
os.path.basename(hook_registration.template)
|
os.path.basename(hook_registration.template)
|
||||||
))
|
))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user