diff options
author | Thedro Neely <thedroneely@gmail.com> | 2020-01-23 17:16:11 -0500 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2020-01-23 17:16:11 -0500 |
commit | 9a53969a7d0d289e1c92bb31c576663e10ce79b0 (patch) | |
tree | 87062c6f0235dc4f1fc0fa884daecf68de2011c8 /templates/repo/header.tmpl | |
parent | 9a12f678556ef05c3f1af8a222690ee0ade88296 (diff) | |
download | gitea-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.tmpl | 2 |
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> |