File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 5
5
{{template "base/alert" .}}
6
6
<div class="ui repo-description">
7
7
<div id="repo-desc">
8
- {{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
+ {{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}}
9
9
<a class="link" href="{{.Repository.Website}}">{{.Repository.Website}}</a>
10
10
</div>
11
11
{{if .RepoSearchEnabled}}
24
24
{{end}}
25
25
</div>
26
26
<div class="ui repo-topic" id="repo-topic">
27
- {{range .Topics}}<div class="ui label teal topic" style="cursor:pointer;">{{.Name}}</div>{{end}}<a id="manage_topic" style="cursor:pointer;margin-left:10px;">{{.i18n.Tr "repo.topic.manage_topics"}}</a>
27
+ {{range .Topics}}<div class="ui label teal topic" style="cursor:pointer;">{{.Name}}</div>{{end}}
28
+ {{if .IsRepositoryAdmin}}<a id="manage_topic" style="cursor:pointer;margin-left:10px;">{{.i18n.Tr "repo.topic.manage_topics"}}</a>{{end}}
28
29
</div>
30
+ {{if .IsRepositoryAdmin}}
29
31
<div class="ui repo-topic-edit grid" id="topic_edit" >
30
32
<div class="fourteen wide column">
31
33
<div class="ui fluid multiple search selection dropdown">
41
43
data-link="{{.RepoLink}}/topics">{{.i18n.Tr "repo.topic.done"}}</a>
42
44
</div>
43
45
</div>
46
+ {{end}}
44
47
{{template "repo/sub_menu" .}}
45
48
<div class="ui stackable secondary menu mobile--margin-between-items mobile--no-negative-margins">
46
49
{{if and .PullRequestCtx.Allowed .IsViewBranch}}
You can’t perform that action at this time.
0 commit comments