diff options
author | 无闻 <joe2010xtmf@163.com> | 2014-07-22 16:03:58 -0400 |
---|---|---|
committer | 无闻 <joe2010xtmf@163.com> | 2014-07-22 16:03:58 -0400 |
commit | dc2e1403603789e438ced9ac7dceb736d70f426c (patch) | |
tree | 9f27b9fb3907ef0bdb2f2c1a779776fcb37fd1cc /templates/repo | |
parent | 5bbd5be0caf35f23de833f765e2eeb0e5772fbf3 (diff) | |
parent | ec26b78d3cf1a72d0895ce37dc37b3f9cc3c11ea (diff) | |
download | gitea-dc2e1403603789e438ced9ac7dceb736d70f426c.tar.gz gitea-dc2e1403603789e438ced9ac7dceb736d70f426c.zip |
Merge pull request #296 from nuss-justin/dev
Fix issue 280 & unwatch button in Firefox
Diffstat (limited to 'templates/repo')
-rw-r--r-- | templates/repo/nav.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/repo/nav.tmpl b/templates/repo/nav.tmpl index b689e44299..69f60ba469 100644 --- a/templates/repo/nav.tmpl +++ b/templates/repo/nav.tmpl @@ -31,6 +31,7 @@ </div> </div> </div> + {{if .IsSigned}} <div class="btn-group {{if .IsRepositoryWatching}}watching{{else}}no-watching{{end}}" id="repo-watching" data-watch="/{{.Owner.Name}}/{{.Repository.Name}}/action/watch" data-unwatch="/{{.Owner.Name}}/{{.Repository.Name}}/action/unwatch"> {{if .IsRepositoryWatching}} <button type="button" class="btn btn-default"><i class="fa fa-eye fa-lg fa-m"></i></button> @@ -52,6 +53,7 @@ </div> </div> </div> + {{end}} <!-- <div class="btn-group"> <button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="top" title="Star"><i class="fa fa-star"></i> {{.Repository.NumStars}}</button> </div> --> |