diff options
Diffstat (limited to 'templates/sidebar/alert.hamlet')
-rw-r--r-- | templates/sidebar/alert.hamlet | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/sidebar/alert.hamlet b/templates/sidebar/alert.hamlet new file mode 100644 index 000000000..8fa77eac1 --- /dev/null +++ b/templates/sidebar/alert.hamlet @@ -0,0 +1,9 @@ +<div .alert .fade .in .#{divclass} :block:.alert-block ##{alertid} :closable:onclick="(function( $ ) { $.get('@{closealert}') })( jQuery );"> + $if closable + <a .close data-dismiss="alert">×</a> + $maybe h <- heading + $if block + <h4 class="alert-heading">#{h}</h4> + $else + <strong>#{h}</strong> + ^{widget} |