Skip to content

Commit b04a1d9

Browse files
jolheiserlunny
authored andcommitted
Add ui class to sub_menu to fix style in arc-green (#6477)
Signed-off-by: jolheiser <[email protected]>
1 parent 5c4b961 commit b04a1d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/repo/sub_menu.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
<div class="ui two horizontal center link list">
33
{{if and (.Permission.CanRead $.UnitTypeCode) (not .IsEmptyRepo)}}
44
<div class="item{{if .PageIsCommits}} active{{end}}">
5-
<a href="{{.RepoLink}}/commits{{if .IsViewBranch}}/branch{{else if .IsViewTag}}/tag{{else if .IsViewCommit}}/commit{{end}}/{{EscapePound .BranchName}}"><i class="octicon octicon-history"></i> <b>{{.CommitsCount}}</b> {{.i18n.Tr (TrN .i18n.Lang .CommitsCount "repo.commit" "repo.commits") }}</a>
5+
<a class="ui" href="{{.RepoLink}}/commits{{if .IsViewBranch}}/branch{{else if .IsViewTag}}/tag{{else if .IsViewCommit}}/commit{{end}}/{{EscapePound .BranchName}}"><i class="octicon octicon-history"></i> <b>{{.CommitsCount}}</b> {{.i18n.Tr (TrN .i18n.Lang .CommitsCount "repo.commit" "repo.commits") }}</a>
66
</div>
77
{{end}}
88
{{if and (.Permission.CanRead $.UnitTypeCode) (not .IsEmptyRepo) }}
99
<div class="item{{if .PageIsBranches}} active{{end}}">
10-
<a href="{{.RepoLink}}/branches/"><i class="octicon octicon-git-branch"></i> <b>{{.BranchesCount}}</b> {{.i18n.Tr (TrN .i18n.Lang .BranchesCount "repo.branch" "repo.branches") }}</a>
10+
<a class="ui" href="{{.RepoLink}}/branches/"><i class="octicon octicon-git-branch"></i> <b>{{.BranchesCount}}</b> {{.i18n.Tr (TrN .i18n.Lang .BranchesCount "repo.branch" "repo.branches") }}</a>
1111
</div>
1212
{{end}}
1313
</div>

0 commit comments

Comments
 (0)