|
|
@ -32,7 +32,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{if .CanBeForked}} |
|
|
|
{{if .CanBeForked}} |
|
|
|
<div class="ui labeled button" tabindex="0"> |
|
|
|
<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 {{if eq .OwnerID $.SignedUserID}}poping up{{end}}" href="{{AppSubUrl}}/repo/fork/{{.ID}}"> |
|
|
|
<i class="octicon octicon-repo-forked"></i>{{$.i18n.Tr "repo.fork"}} |
|
|
|
<i class="octicon octicon-repo-forked"></i>{{$.i18n.Tr "repo.fork"}} |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
<a class="ui basic label" href="{{.Link}}/forks"> |
|
|
|
<a class="ui basic label" href="{{.Link}}/forks"> |
|
|
|