diff options
author | Bwko <bouwko@gmail.com> | 2017-01-26 15:44:37 +0100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-01-26 22:44:37 +0800 |
commit | e08421017c50d881710f52c9fd942239a4a928ae (patch) | |
tree | 6df7f199ab5e13dd4df3c57f2f167c7484fa5710 /templates | |
parent | d1b5498cc0128b463a04d9e216234d247b0761cd (diff) | |
download | gitea-e08421017c50d881710f52c9fd942239a4a928ae.tar.gz gitea-e08421017c50d881710f52c9fd942239a4a928ae.zip |
Add ability to fork your own repos (#761)
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/header.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index 9b94e799a7..a46bf5b807 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -32,7 +32,7 @@ </div> {{if .CanBeForked}} <div class="ui labeled button" tabindex="0"> - <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}}> + <a class="ui button" href="{{AppSubUrl}}/repo/fork/{{.ID}}"> <i class="octicon octicon-repo-forked"></i>{{$.i18n.Tr "repo.fork"}} </a> <a class="ui basic label" href="{{.Link}}/forks"> |