Added title attribute to menus
authorThierry Florac <thierry.florac@onf.fr>
Tue, 14 Oct 2014 14:31:54 +0200
changeset 81 a67eb3f6b789
parent 80 8313880ee18d
child 82 f1b437b926fd
Added title attribute to menus
src/ztfy/myams/viewlet/menu/menu-item.pt
--- a/src/ztfy/myams/viewlet/menu/menu-item.pt	Tue Oct 14 14:30:54 2014 +0200
+++ b/src/ztfy/myams/viewlet/menu/menu-item.pt	Tue Oct 14 14:31:54 2014 +0200
@@ -2,7 +2,8 @@
 	<li tal:attributes="class view/css_class">
 		<a tal:condition="view/label"
 		   tal:attributes="href view/getURL;
-						   data-toggle python:'modal' if view.modal_target else ''">
+						   data-toggle python:'modal' if view.modal_target else '';
+						   title view/label;">
 			<i tal:condition="view/icon_class"
 			   tal:attributes="class string:fa fa-lg fa-fw ${view/icon_class}">
 				<em tal:condition="view/notice"