--- a/src/pyams_security/plugin/templates/register-info.pt Mon Jul 02 17:26:12 2018 +0200
+++ b/src/pyams_security/plugin/templates/register-info.pt Mon Jul 09 13:42:56 2018 +0200
@@ -15,7 +15,7 @@
to use the service.</p>
<p i18n:translate="">The login what was given to your account is: <tal:var content="context.login" i18n:name="login" />.</p>
<p><span i18n:translate="">To confirm your registration, please click on the following link and re-enter your login credentials:</span><br />
- <a tal:define="url extension:absolute_url(site);
+ <a tal:define="url tales:absolute_url(site);
href string:${url}/@@user-confirmation.html?hash=${context.activation_hash};"
tal:attributes="href href"
tal:content="href"></a>
@@ -23,6 +23,6 @@
<p i18n:translate="">If you don't want to confirm this registration, please just ignore this message and your registration information
will be deleted within 30 days.</p>
<p i18n:translate="">Thank you for using our services.</p>
- <div tal:content="structure extension:html(settings.signature)"></div>
+ <div tal:content="structure tales:html(settings.signature)"></div>
</body>
</html>
--- a/src/pyams_security/plugin/templates/register-message.pt Mon Jul 02 17:26:12 2018 +0200
+++ b/src/pyams_security/plugin/templates/register-message.pt Mon Jul 09 13:42:56 2018 +0200
@@ -13,7 +13,7 @@
<tal:var content="settings.service_owner" i18n:name="service_owner" />.</p>
<p i18n:translate="">You have registered a new account that you may confirm before being able to use the service.</p>
<p><span i18n:translate="">To confirm your registration, please click on the following link and re-enter your login credentials:</span><br />
- <a tal:define="url extension:absolute_url(site);
+ <a tal:define="url tales:absolute_url(site);
href string:${url}/@@user-confirmation.html?hash=${context.activation_hash};"
tal:attributes="href href"
tal:content="href"></a>
@@ -21,6 +21,6 @@
<p i18n:translate="">If you don't want to confirm this registration, please just ignore this message and your registration information
will be deleted within 30 days.</p>
<p i18n:translate="">Thank you for using our services.</p>
- <div tal:content="structure extension:html(settings.signature)"></div>
+ <div tal:content="structure tales:html(settings.signature)"></div>
</body>
</html>
--- a/src/pyams_security/views/templates/login-header.pt Mon Jul 02 17:26:12 2018 +0200
+++ b/src/pyams_security/views/templates/login-header.pt Mon Jul 09 13:42:56 2018 +0200
@@ -1,9 +1,9 @@
<tal:var i18n:domain="pyams_security">
<h3 class="modal-title"
- tal:define="config extension:configuration;
- back_config extension:back_configuration;">
+ tal:define="config tales:configuration;
+ back_config tales:back_configuration;">
<tal:if condition="config.logo">
- <img tal:define="href extension:absolute_url(config.logo)"
+ <img tal:define="href tales:absolute_url(config.logo)"
tal:attributes="src string:${href}/++thumb++200x70.png;">
</tal:if>
<span class="title" tal:content="i18n:back_config.title">Title</span>
--- a/src/pyams_security/views/templates/social-login.pt Mon Jul 02 17:26:12 2018 +0200
+++ b/src/pyams_security/views/templates/social-login.pt Mon Jul 09 13:42:56 2018 +0200
@@ -1,7 +1,7 @@
<div class="social" i18n:domain="pyams_security">
<span tal:condition="view.use_popup"
data-ams-plugins="pyams_security"
- tal:attributes="data-ams-plugin-pyams_security-src extension:resource_path('pyams_security:pyams_security')"
+ tal:attributes="data-ams-plugin-pyams_security-src tales:resource_path('pyams_security:pyams_security')"
data-ams-plugin-pyams_security-callback="PyAMS_security.init_social"></span>
<span i18n:translate="">Login with: </span>
<tal:loop repeat="provider view.providers">
--- a/src/pyams_security/zmi/widget/templates/ordered-list-input.pt Mon Jul 02 17:26:12 2018 +0200
+++ b/src/pyams_security/zmi/widget/templates/ordered-list-input.pt Mon Jul 09 13:42:56 2018 +0200
@@ -3,7 +3,7 @@
data-ams-plugins="pyams_security"
tal:attributes="id string:${view/field/getName}_list;
data-ams-input-name view/name;
- data-ams-plugin-pyams_security-src extension:resource_path('pyams_security:pyams_security');">
+ data-ams-plugin-pyams_security-src tales:resource_path('pyams_security:pyams_security');">
<input type="hidden"
tal:attributes="id view/id;
name view/name;