Browse Source

Remove Watch button

master
Gerben 6 years ago
parent
commit
bf0ef5d090
1 changed files with 0 additions and 11 deletions
  1. +0
    -11
      templates/repo/header.tmpl

+ 0
- 11
templates/repo/header.tmpl View File

@@ -12,17 +12,6 @@
{{if .IsFork}}<div class="fork-flag">{{$.i18n.Tr "repo.forked_from"}} <a href="{{.BaseRepo.Link}}">{{SubStr .BaseRepo.RelLink 1 -1}}</a></div>{{end}}
</div>
</div>

<div class="ui eight wide right aligned column">
<div class="ui compact labeled button" tabindex="0">
<a class="ui compact button" href="{{$.RepoLink}}/action/{{if $.IsWatchingRepo}}un{{end}}watch?redirect_to={{$.Link}}">
<i class="icon fa-eye{{if not $.IsWatchingRepo}}-slash{{end}}"></i>{{if $.IsWatchingRepo}}{{$.i18n.Tr "repo.unwatch"}}{{else}}{{$.i18n.Tr "repo.watch"}}{{end}}
</a>
<a class="ui basic label" href="{{.Link}}/watchers">
{{.NumWatches}}
</a>
</div>
</div>
</div><!-- end grid -->
</div><!-- end container -->
{{end}}


Loading…
Cancel
Save