aboutsummaryrefslogtreecommitdiff
path: root/templates/repo/header.tmpl
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2020-02-14 01:17:08 -0500
committerThedro Neely <thedroneely@gmail.com>2020-02-14 01:17:08 -0500
commit1e9fa19dafc608f608fa25f09efc308ae428d617 (patch)
treecc3e46dd906c86ed586feb8a1afa1421e6d39b4e /templates/repo/header.tmpl
parentf7c440e1dafac599a1a5726682ed1a8eacf77ab6 (diff)
downloadgitea-templates-1e9fa19dafc608f608fa25f09efc308ae428d617.tar.gz
gitea-templates-1e9fa19dafc608f608fa25f09efc308ae428d617.tar.bz2
gitea-templates-1e9fa19dafc608f608fa25f09efc308ae428d617.zip
public/css/override: Fine tuning
Diffstat (limited to 'templates/repo/header.tmpl')
-rw-r--r--templates/repo/header.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl
index ac319c9..e6e2350 100644
--- a/templates/repo/header.tmpl
+++ b/templates/repo/header.tmpl
@@ -17,6 +17,7 @@
{{if .IsMirror}}<div class="fork-flag">{{$.i18n.Tr "repo.mirror_from"}} <a target="_blank" rel="noopener noreferrer" href="{{if .SanitizedOriginalURL}}{{.SanitizedOriginalURL}}{{else}}{{MirrorAddress $.Mirror}}{{end}}">{{if .SanitizedOriginalURL}}{{.SanitizedOriginalURL}}{{else}}{{MirrorAddress $.Mirror}}{{end}}</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}}
{{if .IsGenerated}}<div class="fork-flag">{{$.i18n.Tr "repo.generated_from"}} <a href="{{.TemplateRepo.Link}}">{{SubStr .TemplateRepo.RelLink 1 -1}}</a></div>{{end}}
+ <small>{{SizeFmt .Size}}</small>
</div>
{{if not .IsBeingCreated}}
<div class="repo-buttons">