diff options
author | Unknwon <u@gogs.io> | 2015-12-13 22:58:12 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-12-13 22:58:12 -0500 |
commit | 7509fa2c33b6eeff20091a4c6883c006d99b3425 (patch) | |
tree | 91f436036cb421eed20e7e6caca5bd96150866f7 /templates/repo/header.tmpl | |
parent | acdb4d8bdd31ee910c6c5fa6db65379703bdfbca (diff) | |
download | gitea-7509fa2c33b6eeff20091a4c6883c006d99b3425.tar.gz gitea-7509fa2c33b6eeff20091a4c6883c006d99b3425.zip |
improve get commits performance
Diffstat (limited to 'templates/repo/header.tmpl')
-rw-r--r-- | templates/repo/header.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index ead981346b..3a1f9cc16b 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -8,7 +8,7 @@ <a href="{{AppSubUrl}}/{{.Owner.Name}}">{{.Owner.Name}}</a> <div class="divider"> / </div> <a href="{{$.RepoLink}}">{{.Name}}</a> - {{if .IsMirror}}<div class="fork-flag">{{$.i18n.Tr "repo.mirror_from"}} <a target="_blank" href="{{$.MirrorAddress}}">{{$.Mirror.Address}}</a></div>{{end}} + {{if .IsMirror}}<div class="fork-flag">{{$.i18n.Tr "repo.mirror_from"}} <a target="_blank" href="{{$.Mirror.Address}}">{{$.Mirror.Address}}</a></div>{{end}} {{if .IsFork}}<div class="fork-flag">{{$.i18n.Tr "repo.forked_from"}} <a href="{{.BaseRepo.RepoLink}}">{{SubStr .BaseRepo.RepoLink 1 -1}}</a></div>{{end}} </div> |