diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-20 21:28:12 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-20 21:28:12 +0800 |
commit | 42b08ff26158b9c815d13a427c596bd76468beb8 (patch) | |
tree | 95d7474410596475f94c4744a955b381d126554c /templates/repo/nav.tmpl | |
parent | 47234f1031b35dfc6b3a20223d5dd61db2decda1 (diff) | |
download | gitea-42b08ff26158b9c815d13a427c596bd76468beb8.tar.gz gitea-42b08ff26158b9c815d13a427c596bd76468beb8.zip |
fix single bare page link
Diffstat (limited to 'templates/repo/nav.tmpl')
-rw-r--r-- | templates/repo/nav.tmpl | 2 |
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> |