diff options
author | Joey Hess <joey@kitenet.net> | 2012-09-09 01:02:44 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-09-09 01:02:44 -0400 |
commit | 1e41c0d85ecc24e8656bff79b2fba46c3663a054 (patch) | |
tree | 3fbd6316fed1de8866e0b8419c64ca4b821a9dde /templates/sidebar/alert.hamlet | |
parent | f62cc484826991bfdb5469b8cf0b7b6b7a617e43 (diff) |
update pair request alert when button is pressed
Diffstat (limited to 'templates/sidebar/alert.hamlet')
-rw-r--r-- | templates/sidebar/alert.hamlet | 6 |
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>×</a> + <a .close onclick="(function( $ ) { $.get('@{CloseAlert aid}') })( jQuery );">×</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} |