summaryrefslogtreecommitdiff
path: root/templates/sidebar/alert.hamlet
diff options
context:
space:
mode:
Diffstat (limited to 'templates/sidebar/alert.hamlet')
-rw-r--r--templates/sidebar/alert.hamlet4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/sidebar/alert.hamlet b/templates/sidebar/alert.hamlet
index 8fa77eac1..84126c381 100644
--- a/templates/sidebar/alert.hamlet
+++ b/templates/sidebar/alert.hamlet
@@ -1,6 +1,10 @@
<div .alert .fade .in .#{divclass} :block:.alert-block ##{alertid} :closable:onclick="(function( $ ) { $.get('@{closealert}') })( jQuery );">
$if closable
<a .close data-dismiss="alert">&times;</a>
+ $case icon
+ $of Nothing
+ $of Just name
+ <i class="icon-#{name}"></i> #
$maybe h <- heading
$if block
<h4 class="alert-heading">#{h}</h4>