Pārlūkot izejas kodu

[GINR] remove staring

cgars 8 gadi atpakaļ
vecāks
revīzija
0c2d37b2e5
1 mainītis faili ar 0 papildinājumiem un 8 dzēšanām
  1. 0 8
      templates/repo/header.tmpl

+ 0 - 8
templates/repo/header.tmpl

@@ -23,14 +23,6 @@
 									{{.NumWatches}}
 								</a>
 							</div>
-							<div class="ui labeled button" tabindex="0">
-								<a class="ui basic button" href="{{$.RepoLink}}/action/{{if $.IsStaringRepo}}un{{end}}star?redirect_to={{$.Link}}">
-									<i class="icon fa-star{{if not $.IsStaringRepo}}-o{{end}}"></i>{{if $.IsStaringRepo}}{{$.i18n.Tr "repo.unstar"}}{{else}}{{$.i18n.Tr "repo.star"}}{{end}}
-								</a>
-								<a class="ui basic label" href="{{.Link}}/stars">
-									{{.NumStars}}
-								</a>
-							</div>
 							{{if .CanBeForked}}
 								<div class="ui labeled button" tabindex="0">
 									<a class="ui basic button {{if eq .OwnerID $.LoggedUserID}}poping up{{end}}" href="{{AppSubURL}}/repo/fork/{{.ID}}">