Init version 0.1.10
authorThierry Florac <thierry.florac@onf.fr>
Mon, 09 Jul 2018 13:46:13 +0200
changeset 81 2c9c43b12a69
parent 80 04aaaa70df03
child 82 e87f21d6127b
Init version 0.1.10
src/pyams_zmi/interfaces/templates/admin-layout.pt
--- a/src/pyams_zmi/interfaces/templates/admin-layout.pt	Mon Jul 09 13:46:01 2018 +0200
+++ b/src/pyams_zmi/interfaces/templates/admin-layout.pt	Mon Jul 09 13:46:13 2018 +0200
@@ -1,19 +1,19 @@
 <!DOCTYPE html>
 <html lang="en" i18n:domain="pyams_skin"
-	  tal:define="config extension:back_configuration;
-				  zmi extension:zmi_configuration;
+	  tal:define="config tales:back_configuration;
+				  zmi tales:zmi_configuration;
 				  anonymous request.principal.id == '__none__';"
 	  tal:attributes="lang request.locale_name">
 <head>
-	<tal:var replace="structure extension:metas" />
+	<tal:var replace="structure tales:metas" />
 
-	<tal:if define="icon config.icon | nothing; url extension:absolute_url(icon);" condition="icon">
+	<tal:if define="icon config.icon | nothing; url tales:absolute_url(icon);" condition="icon">
 		<!-- Favorite icon -->
 		<link rel="shortcut icon" tal:attributes="href url" type="image/x-icon">
 		<link rel="icon" tal:attributes="href url" type="image/x-icon">
 	</tal:if>
 
-	<tal:var replace="extension:resources" />
+	<tal:var replace="tales:resources" />
 
 	<!-- Javascript extensions -->
 	<tal:var content="structure provider:pyams.jsextensions" />
@@ -31,7 +31,7 @@
 				  tal:define="logo config.logo | nothing"
 				  tal:condition="logo">
 				<a href="/admin">
-					<img tal:attributes="src extension:absolute_url(logo, '++thumb++200x36.png');" />
+					<img tal:attributes="src tales:absolute_url(logo, '++thumb++200x36.png');" />
 				</a>
 			</span>
 		</div>
@@ -65,9 +65,9 @@
 			<div id="user-menu" class="btn-header pull-right margin-left-10"
 				 tal:condition="not:anonymous">
 				<span class="btn btn-sm btn-success" data-toggle="dropdown">
-					<tal:var define="profile extension:public_profile(request)">
+					<tal:var define="profile tales:public_profile(request)">
 						<tal:if condition="profile.avatar">
-							<img tal:define="src extension:absolute_url(profile.avatar)"
+							<img tal:define="src tales:absolute_url(profile.avatar)"
 								 tal:attributes="src string:${src}/++thumb++square:32x32.png" />
 						</tal:if>
 						<tal:if condition="not:profile.avatar">