--- a/src/pyams_portal/zmi/templates/layout.pt Tue May 16 11:17:24 2017 +0200
+++ b/src/pyams_portal/zmi/templates/layout.pt Tue May 16 11:17:44 2017 +0200
@@ -5,8 +5,8 @@
<div class="ams-widget"
data-ams-focus-target
data-ams-plugins="pyams_portal"
- data-ams-plugin-pyams_portal-src="/--static--/pyams_portal/js/portal{MyAMS.devext}.js"
- data-ams-plugin-pyams_portal-css="/--static--/pyams_portal/css/portal{MyAMS.devext}.css"
+ tal:attributes="data-ams-plugin-pyams_portal-src extension:resource_path('pyams_portal:pyams_portal');
+ data-ams-plugin-pyams_portal-css extension:resource_path('pyams_portal:pyams_portal_css');"
data-ams-plugin-pyams_portal-callback="PyAMS_portal.template.initConfig">
<header>
<span tal:condition="view.widget_icon_class | nothing"