mirror of
https://github.com/go-gitea/gitea.git
synced 2025-06-23 15:10:32 +02:00
ui: add a default tab on repo header when migrating (#34503)
Signed-off-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
parent
0534eddd16
commit
28dec9a27d
@ -1228,6 +1228,7 @@ migrate.migrating_issues = Migrating Issues
|
|||||||
migrate.migrating_pulls = Migrating Pull Requests
|
migrate.migrating_pulls = Migrating Pull Requests
|
||||||
migrate.cancel_migrating_title = Cancel Migration
|
migrate.cancel_migrating_title = Cancel Migration
|
||||||
migrate.cancel_migrating_confirm = Do you want to cancel this migration?
|
migrate.cancel_migrating_confirm = Do you want to cancel this migration?
|
||||||
|
migrating_status = Migrating status
|
||||||
|
|
||||||
mirror_from = mirror of
|
mirror_from = mirror of
|
||||||
forked_from = forked from
|
forked_from = forked from
|
||||||
|
@ -226,11 +226,19 @@
|
|||||||
</a>
|
</a>
|
||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
{{else if .Permission.IsAdmin}}
|
{{else}}
|
||||||
<div class="overflow-menu-items">
|
<div class="overflow-menu-items">
|
||||||
|
{{if(and .Repository.IsBeingCreated (.Permission.CanRead ctx.Consts.RepoUnitTypeCode))}}
|
||||||
|
<a class="{{if not .PageIsRepoSettings}}active {{end}}item" href="{{.RepoLink}}">
|
||||||
|
{{svg "octicon-clock"}} {{ctx.Locale.Tr "repo.migrating_status"}}
|
||||||
|
</a>
|
||||||
|
{{end}}
|
||||||
|
|
||||||
|
{{if .Permission.IsAdmin}}
|
||||||
<a class="{{if .PageIsRepoSettings}}active {{end}} item" href="{{.RepoLink}}/settings">
|
<a class="{{if .PageIsRepoSettings}}active {{end}} item" href="{{.RepoLink}}/settings">
|
||||||
{{svg "octicon-tools"}} {{ctx.Locale.Tr "repo.settings"}}
|
{{svg "octicon-tools"}} {{ctx.Locale.Tr "repo.settings"}}
|
||||||
</a>
|
</a>
|
||||||
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
</overflow-menu>
|
</overflow-menu>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user