We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd758ad commit 98c5a1eCopy full SHA for 98c5a1e
templates/repo/home.tmpl
@@ -4,7 +4,7 @@
4
<div class="ui container">
5
{{template "base/alert" .}}
6
<p id="repo-desc">
7
- {{if .Repository.DescriptionHTML}}<span class="description has-emoji">{{.Repository.DescriptionHTML}}</span>{{else}}<span class="no-description text-italic">{{.i18n.Tr "repo.no_desc"}}</span>{{end}}
+ {{if .Repository.DescriptionHTML}}<span class="description has-emoji">{{.Repository.DescriptionHTML}}</span>{{else if .IsRepositoryAdmin}}<span class="no-description text-italic">{{.i18n.Tr "repo.no_desc"}}</span>{{end}}
8
<a class="link" href="{{.Repository.Website}}">{{.Repository.Website}}</a>
9
</p>
10
<div class="ui secondary menu">
0 commit comments