summaryrefslogtreecommitdiff
path: root/templates/sidebar/alert.hamlet
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-08-08 17:07:38 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-08-08 17:07:38 -0400
commit09449792fa50686e2fb9af6c392b8644dddae5d6 (patch)
tree52c706411d5f4d8ec4e28081dacabf83353059bb /templates/sidebar/alert.hamlet
parent94fcd0cf59f94dd29ab171f0875bd25af65fd527 (diff)
factor out onclick javascript
Diffstat (limited to 'templates/sidebar/alert.hamlet')
-rw-r--r--templates/sidebar/alert.hamlet4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/sidebar/alert.hamlet b/templates/sidebar/alert.hamlet
index 4275931a9..85ff58482 100644
--- a/templates/sidebar/alert.hamlet
+++ b/templates/sidebar/alert.hamlet
@@ -1,6 +1,6 @@
-<div .alert .fade .in .#{divclass} :block:.alert-block ##{alertid} :closable:onclick="(function( $ ) { $.get('@{closealert}') })( jQuery );">
+<div .alert .fade .in .#{divclass} :block:.alert-block ##{alertid} :closable:onclick="(function( $ ) { $.get('@{CloseAlert i}') })( jQuery );">
$if closable
- <a .close data-dismiss="alert">&times;</a>
+ <a .close>&times;</a>
$maybe h <- heading
$if block
<h4 .alert-heading>