mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-21 16:40:52 +00:00
11 lines
502 B
Go HTML Template
11 lines
502 B
Go HTML Template
|
{{if .CanSyncFork}}
|
||
|
<div class="ui positive message tw-flex tw-items-center">
|
||
|
<div class="tw-flex-1">
|
||
|
{{ctx.Locale.TrN .ForkCommitsBehind "repo.sync_fork.branch_behind_one" "repo.sync_fork.branch_behind_few" .ForkCommitsBehind (printf "<a href='%s'>%s:%s</a>" .BaseBranchLink .Repository.BaseRepo.FullName .BranchName | SafeHTML)}}
|
||
|
</div>
|
||
|
<a role="button" class="ui compact positive button tw-m-0" href="{{.SyncForkLink}}">
|
||
|
{{ctx.Locale.Tr "repo.sync_fork.button"}}
|
||
|
</a>
|
||
|
</div>
|
||
|
{{end}}
|