diff options
author | Unknwon <u@gogs.io> | 2015-11-16 00:03:23 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-16 00:03:23 -0500 |
commit | 1db3ae6601b1bc74777e91fd558af120d0726074 (patch) | |
tree | 38a5feb08580882f830b1f17425c820e6670d1ac | |
parent | 612d0d6d2592c3e34abde42ef254860a0cbc3ce0 (diff) | |
download | gitea-1db3ae6601b1bc74777e91fd558af120d0726074.tar.gz gitea-1db3ae6601b1bc74777e91fd558af120d0726074.zip |
UI fix
-rw-r--r-- | templates/repo/header.tmpl | 6 | ||||
-rw-r--r-- | templates/repo/release/list.tmpl | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index b03e2eaad3..048939f27a 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -14,7 +14,7 @@ <div class="ui right"> <div class="ui labeled button" tabindex="0"> - <a class="ui grey button" href="{{$.RepoLink}}/action/{{if $.IsWatchingRepo}}un{{end}}watch?redirect_to={{$.Link}}"> + <a class="ui button" href="{{$.RepoLink}}/action/{{if $.IsWatchingRepo}}un{{end}}watch?redirect_to={{$.Link}}"> <i class="icon fa fa-eye{{if not $.IsWatchingRepo}}-slash{{end}}"></i>{{if $.IsWatchingRepo}}{{$.i18n.Tr "repo.unwatch"}}{{else}}{{$.i18n.Tr "repo.watch"}}{{end}} </a> <a class="ui basic label" href="{{.RepoLink}}/watchers"> @@ -22,7 +22,7 @@ </a> </div> <div class="ui labeled button" tabindex="0"> - <a class="ui grey button" href="{{$.RepoLink}}/action/{{if $.IsStaringRepo}}un{{end}}star?redirect_to={{$.Link}}"> + <a class="ui button" href="{{$.RepoLink}}/action/{{if $.IsStaringRepo}}un{{end}}star?redirect_to={{$.Link}}"> <i class="icon fa-star{{if not $.IsStaringRepo}}-o{{end}}"></i>{{if $.IsStaringRepo}}{{$.i18n.Tr "repo.unstar"}}{{else}}{{$.i18n.Tr "repo.star"}}{{end}} </a> <a class="ui basic label" href="{{.RepoLink}}/stars"> @@ -31,7 +31,7 @@ </div> {{if .CanBeForked}} <div class="ui labeled button" tabindex="0"> - <a class="ui grey button {{if eq .OwnerID $.SignedUserID}}poping up{{end}}" {{if not (eq .OwnerID $.SignedUserID)}}href="{{AppSubUrl}}/repo/fork/{{.ID}}"{{else}} data-content="{{$.i18n.Tr "repo.fork_from_self"}}" data-position="top center" data-variation="tiny"{{end}}> + <a class="ui button {{if eq .OwnerID $.SignedUserID}}poping up{{end}}" {{if not (eq .OwnerID $.SignedUserID)}}href="{{AppSubUrl}}/repo/fork/{{.ID}}"{{else}} data-content="{{$.i18n.Tr "repo.fork_from_self"}}" data-position="top center" data-variation="tiny"{{end}}> <i class="icon octicon octicon-repo-forked"></i>{{$.i18n.Tr "repo.fork"}} </a> <a class="ui basic label" href="{{.RepoLink}}/forks"> diff --git a/templates/repo/release/list.tmpl b/templates/repo/release/list.tmpl index 32be1ce022..8ecf69ae4d 100644 --- a/templates/repo/release/list.tmpl +++ b/templates/repo/release/list.tmpl @@ -37,7 +37,7 @@ {{if .PublisherID}} <h3> <a href="{{$.RepoLink}}/src/{{.TagName}}">{{.Title}}</a> - {{if .IsRepositoryAdmin}}<small>(<a href="{{$.RepoLink}}/releases/edit/{{.TagName}}" rel="nofollow">{{$.i18n.Tr "repo.release.edit"}}</a>)</small>{{end}} + {{if $.IsRepositoryAdmin}}<small>(<a href="{{$.RepoLink}}/releases/edit/{{.TagName}}" rel="nofollow">{{$.i18n.Tr "repo.release.edit"}}</a>)</small>{{end}} </h3> <p class="text grey"> <span class="author"> |