summaryrefslogtreecommitdiff
path: root/templates/sidebar
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-09-09 15:09:22 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-09-09 15:09:22 -0400
commit690b424cad86f6ebd4e5f9755f0f2751aafb4cdd (patch)
treef36fb15b3c2ecfa69ce39aac219939c3a237f318 /templates/sidebar
parentf75ac910c4876e6cdbb2eb4f48a9dd5ea7c8ec54 (diff)
unify bootstrap icon names in a data type
Diffstat (limited to 'templates/sidebar')
-rw-r--r--templates/sidebar/alert.hamlet12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/sidebar/alert.hamlet b/templates/sidebar/alert.hamlet
index ee15f1621..c5138d79a 100644
--- a/templates/sidebar/alert.hamlet
+++ b/templates/sidebar/alert.hamlet
@@ -4,16 +4,16 @@
$maybe h <- renderAlertHeader alert
$if block
<h4 .alert-heading>
- $maybe name <- alertIcon alert
- <i .icon-#{name}></i> #
+ $maybe i <- alertIcon alert
+ <i .icon-#{bootstrapIcon i}></i> #
#{h}
$else
- $maybe name <- alertIcon alert
- <i .icon-#{name}></i> #
+ $maybe i <- alertIcon alert
+ <i .icon-#{bootstrapIcon i}></i> #
<strong>#{h}</strong> #
$nothing
- $maybe name <- alertIcon alert
- <i .icon-#{name}></i> #
+ $maybe i <- alertIcon alert
+ <i .icon-#{bootstrapIcon i}></i> #
#{renderAlertMessage alert}
$maybe button <- alertButton alert
<br>