diff options
author | kolaente <konrad@kola-entertainments.de> | 2018-04-19 14:30:11 +0200 |
---|---|---|
committer | Bo-Yi Wu <appleboy.tw@gmail.com> | 2018-04-19 20:30:11 +0800 |
commit | 7cc96de6cf9eba7cf09a10d0f3773f54ca9606d4 (patch) | |
tree | dec766f3910058daabdc6b8d76b147a48cb42ec2 /templates/repo | |
parent | a0ea370c8c48c426bbadddd26f4b29913abffad9 (diff) | |
download | gitea-7cc96de6cf9eba7cf09a10d0f3773f54ca9606d4.tar.gz gitea-7cc96de6cf9eba7cf09a10d0f3773f54ca9606d4.zip |
Fix for UI broke when a repo is starred & watched (#3630) (#3810)
Diffstat (limited to 'templates/repo')
-rw-r--r-- | templates/repo/header.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index 95a7d499ec..f4c0d0d163 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -2,7 +2,7 @@ {{with .Repository}} <div class="ui container"> <div class="ui stackable grid header-grid"> - <div class="eight wide column"> + <div class="seven wide column"> <div class="ui huge breadcrumb"> <i class="mega-octicon octicon-{{if .IsPrivate}}lock{{else if .IsMirror}}repo-clone{{else if .IsFork}}repo-forked{{else}}repo{{end}}"></i> <a href="{{AppSubUrl}}/{{.Owner.Name}}">{{.Owner.Name}}</a> @@ -13,7 +13,7 @@ </div> </div> - <div class="ui eight wide right aligned column"> + <div class="ui nine wide right aligned column"> <div class="ui compact labeled button" tabindex="0"> <a class="ui compact button" href="{{$.RepoLink}}/action/{{if $.IsWatchingRepo}}un{{end}}watch?redirect_to={{$.Link}}"> <i class="icon fa-eye{{if not $.IsWatchingRepo}}-slash{{end}}"></i>{{if $.IsWatchingRepo}}{{$.i18n.Tr "repo.unwatch"}}{{else}}{{$.i18n.Tr "repo.watch"}}{{end}} |