浏览代码

[GINR] remove staring

cgars 8 年之前
父节点
当前提交
0c2d37b2e5
共有 1 个文件被更改,包括 0 次插入8 次删除
  1. 0 8
      templates/repo/header.tmpl

+ 0 - 8
templates/repo/header.tmpl

@@ -23,14 +23,6 @@
 									{{.NumWatches}}
 									{{.NumWatches}}
 								</a>
 								</a>
 							</div>
 							</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}}
 							{{if .CanBeForked}}
 								<div class="ui labeled button" tabindex="0">
 								<div class="ui labeled button" tabindex="0">
 									<a class="ui basic button {{if eq .OwnerID $.LoggedUserID}}poping up{{end}}" href="{{AppSubURL}}/repo/fork/{{.ID}}">
 									<a class="ui basic button {{if eq .OwnerID $.LoggedUserID}}poping up{{end}}" href="{{AppSubURL}}/repo/fork/{{.ID}}">