diff options
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> |