File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 3
3
{{template "repo/header" .}}
4
4
<div class="ui container {{if .IsBlame}}fluid padded{{end}}">
5
5
{{template "base/alert" .}}
6
+ {{if and (not .IsViewFile) (not .IsBlame)}}
6
7
<div class="ui repo-description">
7
8
<div id="repo-desc">
8
9
{{$description := .Repository.DescriptionHTML $.Context}}
31
32
{{range .Topics}}<a class="ui repo-topic large label topic" href="{{AppSubUrl}}/explore/repos?q={{.Name}}&topic=1">{{.Name}}</a>{{end}}
32
33
{{if and .Permission.IsAdmin (not .Repository.IsArchived)}}<a id="manage_topic" class="muted">{{.locale.Tr "repo.topic.manage_topics"}}</a>{{end}}
33
34
</div>
35
+ {{end}}
34
36
{{if and .Permission.IsAdmin (not .Repository.IsArchived)}}
35
37
<div class="ui repo-topic-edit grid form" id="topic_edit" style="display:none">
36
38
<div class="fourteen wide column">
Original file line number Diff line number Diff line change
1
+ {{if and (not .IsViewFile) (not .IsBlame)}}
1
2
<div class="ui segments repository-summary{{if and (.Permission.CanRead $.UnitTypeCode) (not .IsEmptyRepo) .LanguageStats}} repository-summary-language-stats{{end}} mt-2 mb-0">
2
3
<div class="ui segment sub-menu repository-menu">
3
4
<div class="ui two horizontal center link list">
44
45
</a>
45
46
{{end}}
46
47
</div>
48
+ {{end}}
You can’t perform that action at this time.
0 commit comments