diff options
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> |