2012-08-08 17:07:38 -04:00
|
|
|
<div .alert .fade .in .#{divclass} :block:.alert-block ##{alertid} :closable:onclick="(function( $ ) { $.get('@{CloseAlert i}') })( jQuery );">
|
2012-07-29 12:39:10 -04:00
|
|
|
$if closable
|
2012-08-08 17:07:38 -04:00
|
|
|
<a .close>×</a>
|
2012-07-29 12:39:10 -04:00
|
|
|
$maybe h <- heading
|
|
|
|
$if block
|
2012-08-06 17:15:27 -04:00
|
|
|
<h4 .alert-heading>
|
|
|
|
$case icon
|
|
|
|
$of Nothing
|
|
|
|
$of Just name
|
2012-08-08 14:14:19 -04:00
|
|
|
<i .icon-#{name}></i> #
|
2012-08-06 17:15:27 -04:00
|
|
|
#{h}
|
2012-07-29 12:39:10 -04:00
|
|
|
$else
|
2012-08-06 17:15:27 -04:00
|
|
|
$case icon
|
|
|
|
$of Nothing
|
|
|
|
$of Just name
|
2012-08-08 14:14:19 -04:00
|
|
|
<i .icon-#{name}></i> #
|
2012-08-02 09:08:58 -04:00
|
|
|
<strong>#{h}</strong> #
|
2012-08-06 15:00:46 -04:00
|
|
|
#{message}
|