Просмотр исходного кода

Removed Link for verified badge in repo

Yoginth 7 лет назад
Родитель
Сommit
9e1e9e0e86
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      templates/repo/header.tmpl

+ 2 - 2
templates/repo/header.tmpl

@@ -10,7 +10,7 @@
 							<a href="{{AppSubURL}}/{{.Owner.Name}}">{{.Owner.Name}}</a>
 							<div class="divider"> / </div>
 							<a href="{{$.RepoLink}}">{{.Name}}</a>
-							{{if .IsVerified}}<a class="poping up" target="_blank" href="/verified" data-content="Verified Repository" data-variation="inverted tiny" data-position="right center"><i class="verified octicon octicon-verified"></i></a>{{end}}
+							{{if .IsVerified}}<a class="poping up" target="_blank" data-content="Verified Repository" data-variation="inverted tiny" data-position="right center"><i class="verified octicon octicon-verified"></i></a>{{end}}
 							{{if .IsMirror}}<div class="fork-flag">{{$.i18n.Tr "repo.mirror_from"}} <a target="_blank" rel="noopener noreferrer" href="{{$.Mirror.Address}}">{{$.Mirror.Address}}</a></div>{{end}}
 							{{if .IsFork}}<div class="fork-flag">{{$.i18n.Tr "repo.forked_from"}} <a href="{{.BaseRepo.Link}}">{{SubStr .BaseRepo.RelLink 1 -1}}</a></div>{{end}}
 						{{else}}
@@ -18,7 +18,7 @@
 							<a href="{{AppSubURL}}/{{.Owner.Name}}">{{.Owner.Name}}</a>
 							<div class="divider"> / </div>
 							<a href="{{$.RepoLink}}">{{.Name}}</a>
-							{{if .IsVerified}}<a class="poping up" target="_blank" href="/verified" data-content="Verified Repository" data-variation="inverted tiny" data-position="right center"><i class="verified octicon octicon-verified"></i></a>{{end}}
+							{{if .IsVerified}}<a class="poping up" target="_blank" data-content="Verified Repository" data-variation="inverted tiny" data-position="right center"><i class="verified octicon octicon-verified"></i></a>{{end}}
 							{{if .IsMirror}}<div class="fork-flag" style="margin-left:34px !important;margin-top:7px !important">{{$.i18n.Tr "repo.mirror_from"}} <a target="_blank" rel="noopener noreferrer" href="{{$.Mirror.Address}}">{{$.Mirror.Address}}</a></div>{{end}}
 							{{if .IsFork}}<div class="fork-flag" style="margin-left:34px !important;margin-top:7px !important">{{$.i18n.Tr "repo.forked_from"}} <a href="{{.BaseRepo.Link}}">{{SubStr .BaseRepo.RelLink 1 -1}}</a></div>{{end}}
 						{{end}}