git-annex/templates/actionbutton.hamlet

4 lines
218 B
Text
Raw Normal View History

2012-09-27 16:55:00 +00:00
<a title="#{fromMaybe "" tooltip}" class="#{buttonclass}" href="@{route}" onclick="(function( $ ) { $.post('@{route}'); })( jQuery ); return false;">
<span class="glyphicon #{iconclass}"> #
\ #{fromMaybe "" label}