Added hint support in toolbar action
authorThierry Florac <tflorac@ulthar.net>
Fri, 06 Aug 2021 14:29:26 +0200
changeset 581 fd1553fc1b34
parent 580 5229fccd92a7
child 582 5a4446779242
Added hint support in toolbar action
src/pyams_skin/viewlet/toolbar/action.pt
--- a/src/pyams_skin/viewlet/toolbar/action.pt	Fri Aug 06 14:28:51 2021 +0200
+++ b/src/pyams_skin/viewlet/toolbar/action.pt	Fri Aug 06 14:29:26 2021 +0200
@@ -1,6 +1,7 @@
 <div class="btn-group"
 	 tal:attributes="class view.group_css_class | default">
 	<div class="${view.css_class}"
+		 title="${view.hint | nothing}"
 		 data-toggle="${'modal' if view.modal_target else None}"
 		 data-ams-url="${view.get_url()}"
 		 data-ams-stop-propagation="${'true' if view.modal_target else None}"