Corrected link to favourites icon
authorThierry Florac <thierry.florac@onf.fr>
Wed, 11 Jun 2014 13:19:37 +0200
changeset 45 c7cc27ab398f
parent 44 3155c5858534
child 46 b220124b75ad
Corrected link to favourites icon
src/ztfy/myams/templates/fullpage-layout.pt
src/ztfy/myams/templates/fullpage-modal-layout.pt
src/ztfy/myams/templates/index.pt
src/ztfy/myams/templates/layout.pt
--- a/src/ztfy/myams/templates/fullpage-layout.pt	Wed Jun 11 13:19:00 2014 +0200
+++ b/src/ztfy/myams/templates/fullpage-layout.pt	Wed Jun 11 13:19:37 2014 +0200
@@ -12,7 +12,7 @@
 	<meta name="HandheldFriendly" content="True">
 	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
 
-	<tal:if condition="config/icon">
+	<tal:if define="icon config/icon" condition="icon">
 		<!-- Favorite icon -->
 		<link rel="shortcut icon" tal:attributes="href icon/@@absolute_url" type="image/x-icon">
 		<link rel="icon" tal:attributes="href icon/@@absolute_url" type="image/x-icon">
--- a/src/ztfy/myams/templates/fullpage-modal-layout.pt	Wed Jun 11 13:19:00 2014 +0200
+++ b/src/ztfy/myams/templates/fullpage-modal-layout.pt	Wed Jun 11 13:19:37 2014 +0200
@@ -12,7 +12,7 @@
 	<meta name="HandheldFriendly" content="True">
 	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
 
-	<tal:if condition="config/icon">
+	<tal:if define="icon config/icon" condition="icon">
 		<!-- Favorite icon -->
 		<link rel="shortcut icon" tal:attributes="href icon/@@absolute_url" type="image/x-icon">
 		<link rel="icon" tal:attributes="href icon/@@absolute_url" type="image/x-icon">
--- a/src/ztfy/myams/templates/index.pt	Wed Jun 11 13:19:00 2014 +0200
+++ b/src/ztfy/myams/templates/index.pt	Wed Jun 11 13:19:37 2014 +0200
@@ -0,0 +1,1 @@
+<!-- This is a default empty layout -->
--- a/src/ztfy/myams/templates/layout.pt	Wed Jun 11 13:19:00 2014 +0200
+++ b/src/ztfy/myams/templates/layout.pt	Wed Jun 11 13:19:37 2014 +0200
@@ -12,7 +12,7 @@
 	<meta name="HandheldFriendly" content="True">
 	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
 
-	<tal:if condition="config/icon">
+	<tal:if define="icon config/icon" condition="icon">
 		<!-- Favorite icon -->
 		<link rel="shortcut icon" tal:attributes="href icon/@@absolute_url" type="image/x-icon">
 		<link rel="icon" tal:attributes="href icon/@@absolute_url" type="image/x-icon">