mirror of
https://github.com/go-gitea/gitea
synced 2025-08-02 23:58:35 +00:00
Mirror repository should not allow fork
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
{{.NumStars}}
|
||||
</a>
|
||||
</div>
|
||||
{{if not .IsBare}}
|
||||
{{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}}>
|
||||
<i class="icon octicon octicon-repo-forked"></i>{{$.i18n.Tr "repo.fork"}}
|
||||
|
Reference in New Issue
Block a user