Handle static property about reload button
authorThierry Florac <thierry.florac@onf.fr>
Tue, 23 Sep 2014 17:18:52 +0200
changeset 69 2d1a5b73a944
parent 68 f44c1c98e570
child 70 eaa27399ce71
Handle static property about reload button
src/ztfy/myams/templates/layout.pt
--- a/src/ztfy/myams/templates/layout.pt	Tue Sep 23 17:18:00 2014 +0200
+++ b/src/ztfy/myams/templates/layout.pt	Tue Sep 23 17:18:52 2014 +0200
@@ -144,7 +144,7 @@
 			<span class="ribbon-button-alignment">
 				<span id="refresh" class="btn btn-ribbon hint" data-ams-hint-gravity="w" data-ams-hint-html="true"
 					  title="&lt;span&gt;&lt;i class=&#39;text-warning fa fa-warning&#39;&gt;&lt;/i&gt; WARNING: this will reset all your widgets status!&lt;/span&gt;"
-					  i18n:attributes="title">
+					  tal:condition="static/include_reload_button" i18n:attributes="title">
 					<i class="fa fa-refresh"></i>
 				</span>
 			</span>