aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-09-09 01:02:44 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-09-09 01:02:44 -0400
commit1e41c0d85ecc24e8656bff79b2fba46c3663a054 (patch)
tree3fbd6316fed1de8866e0b8419c64ca4b821a9dde /templates
parentf62cc484826991bfdb5469b8cf0b7b6b7a617e43 (diff)
update pair request alert when button is pressed
Diffstat (limited to 'templates')
-rw-r--r--templates/sidebar/alert.hamlet6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/sidebar/alert.hamlet b/templates/sidebar/alert.hamlet
index a873d171f..73e7e7ded 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 aid}') })( jQuery );">
+<div .alert .fade .in .#{divclass} :block:.alert-block ##{alertid}>
$if closable
- <a .close>&times;</a>
+ <a .close onclick="(function( $ ) { $.get('@{CloseAlert aid}') })( jQuery );">&times;</a>
$maybe h <- renderAlertHeader alert
$if block
<h4 .alert-heading>
@@ -20,5 +20,5 @@
$of Nothing
$of Just button
<br>
- <a .btn .btn-primary href="#{buttonUrl button}">
+ <a .btn .btn-primary href="@{ClickAlert aid}">
#{buttonLabel button}