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 | |
parent | acdb4d8bdd31ee910c6c5fa6db65379703bdfbca (diff) |
improve get commits performance
Diffstat (limited to 'templates')
-rw-r--r-- | templates/.VERSION | 2 | ||||
-rw-r--r-- | templates/repo/header.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/.VERSION b/templates/.VERSION index 999b9944..d03366c0 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.8.2.1213
\ No newline at end of file +0.8.3.1213
\ No newline at end of file diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index ead98134..3a1f9cc1 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> |