# HG changeset patch # User Thierry Florac # Date 1494926531 -7200 # Node ID f8e004744ae949ceec03a2615a1788d496a9fc68 # Parent afebe353cfa05c2c0dd41e10e4de1553e434fa24 Use "resource_path" TALES extension to get resource URL diff -r afebe353cfa0 -r f8e004744ae9 src/pyams_thesaurus/zmi/templates/terms-tree.pt --- 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 @@
+ 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');">