aboutsummaryrefslogtreecommitdiff
path: root/templates/repo/header.tmpl
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2020-01-23 17:16:11 -0500
committerThedro Neely <thedroneely@gmail.com>2020-01-23 17:16:11 -0500
commit9a53969a7d0d289e1c92bb31c576663e10ce79b0 (patch)
tree87062c6f0235dc4f1fc0fa884daecf68de2011c8 /templates/repo/header.tmpl
parent9a12f678556ef05c3f1af8a222690ee0ade88296 (diff)
downloadgitea-templates-9a53969a7d0d289e1c92bb31c576663e10ce79b0.tar.gz
gitea-templates-9a53969a7d0d289e1c92bb31c576663e10ce79b0.tar.bz2
gitea-templates-9a53969a7d0d289e1c92bb31c576663e10ce79b0.zip
templates/repo/header: Fix context
In repository context
Diffstat (limited to 'templates/repo/header.tmpl')
-rw-r--r--templates/repo/header.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl
index f79a538..49a2d28 100644
--- a/templates/repo/header.tmpl
+++ b/templates/repo/header.tmpl
@@ -50,7 +50,7 @@
<div class="ui repo-description repo-description-custom">
<div id="repo-desc">
- {{if .DescriptionHTML}}<span class="description has-emoji">{{.DescriptionHTML}}</span>{{else if .IsRepositoryAdmin}}<span class="no-description text-italic">{{.i18n.Tr "repo.no_desc"}}</span>{{end}}
+ {{if .DescriptionHTML}}<span class="description has-emoji">{{.DescriptionHTML}}</span>{{else if $.IsRepositoryAdmin}}<span class="no-description text-italic">{{$.i18n.Tr "repo.no_desc"}}</span>{{end}}
<a class="link" href="{{.Website}}">{{.Website}}</a>
</div>
</div>