Skip to content

Commit 7cc96de

Browse files
kolaenteappleboy
authored andcommitted
Fix for UI broke when a repo is starred & watched (#3630) (#3810)
1 parent a0ea370 commit 7cc96de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/repo/header.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{{with .Repository}}
33
<div class="ui container">
44
<div class="ui stackable grid header-grid">
5-
<div class="eight wide column">
5+
<div class="seven wide column">
66
<div class="ui huge breadcrumb">
77
<i class="mega-octicon octicon-{{if .IsPrivate}}lock{{else if .IsMirror}}repo-clone{{else if .IsFork}}repo-forked{{else}}repo{{end}}"></i>
88
<a href="{{AppSubUrl}}/{{.Owner.Name}}">{{.Owner.Name}}</a>
@@ -13,7 +13,7 @@
1313
</div>
1414
</div>
1515

16-
<div class="ui eight wide right aligned column">
16+
<div class="ui nine wide right aligned column">
1717
<div class="ui compact labeled button" tabindex="0">
1818
<a class="ui compact button" href="{{$.RepoLink}}/action/{{if $.IsWatchingRepo}}un{{end}}watch?redirect_to={{$.Link}}">
1919
<i class="icon fa-eye{{if not $.IsWatchingRepo}}-slash{{end}}"></i>{{if $.IsWatchingRepo}}{{$.i18n.Tr "repo.unwatch"}}{{else}}{{$.i18n.Tr "repo.watch"}}{{end}}

0 commit comments

Comments
 (0)