--- a/src/pyams_thesaurus/zmi/templates/terms-tree.pt Tue May 16 11:21:50 2017 +0200
+++ b/src/pyams_thesaurus/zmi/templates/terms-tree.pt Tue May 16 11:22:11 2017 +0200
@@ -3,8 +3,8 @@
</div>
<div class="ams-widget" i18n:domain="pyams_thesaurus"
data-ams-plugins="pyams_thesaurus"
- data-ams-plugin-pyams_thesaurus-src="/--static--/pyams_thesaurus/js/pyams_thesaurus.js"
- data-ams-plugin-pyams_thesaurus-css="/--static--/pyams_thesaurus/css/pyams_thesaurus.css">
+ tal:attributes="data-ams-plugin-pyams_thesaurus-src extension:resource_path('pyams_thesaurus.zmi:pyams_thesaurus');
+ data-ams-plugin-pyams_thesaurus-css extension:resource_path('pyams_thesaurus.zmi:pyams_thesaurus_css');">
<header>
<span class="widget-icon"><i class="fa fa-fw fa-tags"></i></span>
<h2>