--- a/src/pyams_portal/zmi/templates/portlet.pt Wed Jul 12 12:24:37 2017 +0200
+++ b/src/pyams_portal/zmi/templates/portlet.pt Wed Jul 12 12:25:00 2017 +0200
@@ -49,7 +49,7 @@
</legend>
<tal:var content="structure provider:form_help" />
<fieldset class="bordered"
- tal:define="configuration view.getContent().configuration;
+ tal:define="configuration view.configuration;
can_inherit configuration.can_inherit;"
tal:omit-tag="not can_inherit">
<input type="hidden" name="form.widgets.portlet_id"
@@ -90,9 +90,8 @@
</tal:if>
<tal:var define="help group.help" condition="help">
<div class="alert alert-info padding-5"
- tal:define="html import:pyams_utils.text.text_to_html;
- i18n_help html(request.localizer.translate(help));"
- tal:content="structure i18n_help"></div>
+ tal:define="i18n_help request.localizer.translate(help);"
+ tal:content="structure extension:html(i18n_help)"></div>
</tal:var>
<tal:loop repeat="widget group.visible_widgets">
<input type="hidden"