summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-07-31 03:10:16 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-07-31 03:10:16 -0400
commite9d9d9d5ea36c9d20913470079db9ea8ac0db994 (patch)
tree7bca8dc47839471aade565f34887b3cfe4f09841 /templates
parentf0a88e120367fb68f36e316361c14639c338f8c3 (diff)
add icons
Diffstat (limited to 'templates')
-rw-r--r--templates/documentation/about.hamlet3
-rw-r--r--templates/sidebar/alert.hamlet4
2 files changed, 6 insertions, 1 deletions
diff --git a/templates/documentation/about.hamlet b/templates/documentation/about.hamlet
index 6236fb22c..af48a0b10 100644
--- a/templates/documentation/about.hamlet
+++ b/templates/documentation/about.hamlet
@@ -10,7 +10,8 @@
<hr>
git-annex is © 2010-2012 Joey Hess. It is free software, licensed #
under the terms of the GNU General Public License, version 3 or above. #
- Its development was made possible by #
+ <br>
+ <i class="icon-heart"></i> Its development was made possible by #
<a href="http://git-annex.branchable.com/design/assistant/thanks/">
many excellent people
.
diff --git a/templates/sidebar/alert.hamlet b/templates/sidebar/alert.hamlet
index 8fa77eac1..84126c381 100644
--- a/templates/sidebar/alert.hamlet
+++ b/templates/sidebar/alert.hamlet
@@ -1,6 +1,10 @@
<div .alert .fade .in .#{divclass} :block:.alert-block ##{alertid} :closable:onclick="(function( $ ) { $.get('@{closealert}') })( jQuery );">
$if closable
<a .close data-dismiss="alert">&times;</a>
+ $case icon
+ $of Nothing
+ $of Just name
+ <i class="icon-#{name}"></i> #
$maybe h <- heading
$if block
<h4 class="alert-heading">#{h}</h4>