src/pyams_skin/viewlet/toolbar/menu-item.pt
changeset 33 82fbc0843490
parent 25 23d78e06822d
child 271 a3e2deed9fad
equal deleted inserted replaced
32:8419f7c811e7 33:82fbc0843490
     1 <li class="small">
     1 <li class="small">
     2 	<a tal:attributes="data-ams-click-handler view.click_handler;
     2 	<a tal:attributes="data-ams-click-handler view.click_handler;
     3 					   data-ams-click-stop-propagation 'true' if view.stop_propagation else '';
     3 					   data-ams-url view.get_url();
     4 					   data-toggle 'modal' if view.modal_target else '';
     4 					   data-ams-target view.target | nothing;
     5 					   data-ams-url view.get_url();">
     5 					   data-ams-stop-propagation 'true' if view.stop_propagation else None;
       
     6 					   data-toggle 'modal' if view.modal_target else None;">
     6 		<i tal:attributes="class view.label_css_class"></i>&nbsp;
     7 		<i tal:attributes="class view.label_css_class"></i>&nbsp;
     7 		<tal:var content="view.label" />
     8 		<tal:var content="view.label" />
     8 	</a>
     9 	</a>
     9 </li>
    10 </li>