summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/wicket/freemarker
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-10-23 15:28:39 -0400
committerJames Moger <james.moger@gitblit.com>2014-10-23 15:28:39 -0400
commit86bdc273d94b11241166ab52572d8d7ef77abf1a (patch)
tree0b15fce509aadb3659ac59d7953816d192897c3a /src/main/java/com/gitblit/wicket/freemarker
parentf9405bfa30bab4223491898b8ba71dbb4b42c414 (diff)
downloadgitblit-86bdc273d94b11241166ab52572d8d7ef77abf1a.tar.gz
gitblit-86bdc273d94b11241166ab52572d8d7ef77abf1a.zip
Integrate GitHub Octicons
Diffstat (limited to 'src/main/java/com/gitblit/wicket/freemarker')
-rw-r--r--src/main/java/com/gitblit/wicket/freemarker/templates/FilterableRepositoryList.fm8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/wicket/freemarker/templates/FilterableRepositoryList.fm b/src/main/java/com/gitblit/wicket/freemarker/templates/FilterableRepositoryList.fm
index 1512adab..765def52 100644
--- a/src/main/java/com/gitblit/wicket/freemarker/templates/FilterableRepositoryList.fm
+++ b/src/main/java/com/gitblit/wicket/freemarker/templates/FilterableRepositoryList.fm
@@ -9,7 +9,13 @@
</div>
<div ng-repeat="item in ${ngList} | filter:query" style="padding: 3px;border-top: 1px solid #ddd;">
- <b><span class="repositorySwatch" style="background-color:{{item.c}};"><span ng-show="item.wc">!</span><span ng-show="!item.wc">&nbsp;</span></span></b>
+ <span class="octicon-centered" style="color:{{item.c}};padding-right:2px;">
+ <span ng-show="item.y == 0" class="octicon octicon-repo"></span>
+ <span ng-show="item.y == 1" class="octicon octicon-repo-forked"></span>
+ <span ng-show="item.y == 2" class="octicon octicon-mirror"></span>
+ <span ng-show="item.y == 3" class="octicon octicon-repo-push"></span>
+ </span>
+
<a href="summary/?r={{item.r}}" title="{{item.i}}">{{item.p}}<b>{{item.n}}</b></a>
<span class="link hidden-tablet hidden-phone" style="color: #bbb;" title="{{item.d}}">{{item.t}}</span>
<span ng-show="item.s" class="pull-right">