File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -561,6 +561,7 @@ migrate.lfs_mirror_unsupported = Mirroring LFS objects is not supported - use 'g
561
561
mirror_from = mirror of
562
562
forked_from = forked from
563
563
fork_from_self = You cannot fork a repository you own.
564
+ fork_guest_user = Sign in to fork this repository.
564
565
copy_link = Copy
565
566
copy_link_success = Link has been copied
566
567
copy_link_error = Use ⌘C or Ctrl-C to copy
Original file line number Diff line number Diff line change 32
32
</div>
33
33
{{if and (not .IsBare) ($.Permission.CanRead $.UnitTypeCode)}}
34
34
<div class="ui compact labeled button" tabindex="0">
35
- <a class="ui compact button {{if not $.CanSignedUserFork}}poping up{{end}}" {{if $.CanSignedUserFork}}href="{{AppSubUrl}}/repo/fork/{{.ID}}"{{else if $.IsSigned}} data-content="{{$.i18n.Tr "repo.fork_from_self"}}" data-position="top center" data-variation="tiny"{{end}} >
35
+ <a class="ui compact button {{if or ( not $.IsSigned) (not $. CanSignedUserFork) }}poping up{{end}}" {{if $.CanSignedUserFork}}href="{{AppSubUrl}}/repo/fork/{{.ID}}"{{else if $.IsSigned}} data-content="{{$.i18n.Tr "repo.fork_from_self"}}" {{ else }} data-content="{{$.i18n.Tr "repo.fork_guest_user" }}" href="{{AppSubUrl}}/user/login?redirect_to={{AppSubUrl}}/repo/fork/{{.ID}}" {{end}} data- position="top center" data-variation="tiny">
36
36
<i class="octicon octicon-repo-forked"></i>{{$.i18n.Tr "repo.fork"}}
37
37
</a>
38
38
<a class="ui basic label" href="{{.Link}}/forks">
You can’t perform that action at this time.
0 commit comments