|
|
@@ -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}} |
|
|
|