git-annex/templates/sidebar/alert.hamlet

14 lines
420 B
Text
Raw Normal View History

<div .alert .fade .in .#{divclass} :block:.alert-block ##{alertid} :closable:onclick="(function( $ ) { $.get('@{closealert}') })( jQuery );">
2012-07-29 16:39:10 +00:00
$if closable
<a .close data-dismiss="alert">&times;</a>
2012-07-31 07:10:16 +00:00
$case icon
$of Nothing
$of Just name
<i class="icon-#{name}"></i> #
2012-07-29 16:39:10 +00:00
$maybe h <- heading
$if block
2012-08-02 13:08:58 +00:00
<h4 class="alert-heading">#{h}</h4> #
2012-07-29 16:39:10 +00:00
$else
2012-08-02 13:08:58 +00:00
<strong>#{h}</strong> #
2012-07-29 16:39:10 +00:00
^{widget}