summaryrefslogtreecommitdiffstats
path: root/templates/repo/nav.tmpl
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-20 21:28:12 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-20 21:28:12 +0800
commit42b08ff26158b9c815d13a427c596bd76468beb8 (patch)
tree95d7474410596475f94c4744a955b381d126554c /templates/repo/nav.tmpl
parent47234f1031b35dfc6b3a20223d5dd61db2decda1 (diff)
downloadgitea-42b08ff26158b9c815d13a427c596bd76468beb8.tar.gz
gitea-42b08ff26158b9c815d13a427c596bd76468beb8.zip
fix single bare page link
Diffstat (limited to 'templates/repo/nav.tmpl')
-rw-r--r--templates/repo/nav.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/nav.tmpl b/templates/repo/nav.tmpl
index 92e529dbc7..e8685b08bc 100644
--- a/templates/repo/nav.tmpl
+++ b/templates/repo/nav.tmpl
@@ -13,7 +13,7 @@
<span class="caret"></span>
</button>
</div>
- <div class="btn-group" id="gogs-repo-watching">
+ <div class="btn-group {{if .IsRepositoryWatching}}watching{{end}}" id="gogs-repo-watching">
<button type="button" class="btn btn-default"><i class="fa fa-eye fa-lg fa-m"></i></button>
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>