forked from gitea/gitea
Fix UI Spacing Errors in mirror settings (#28990)
This commit is contained in:
parent
4989ad0a9f
commit
64faecefe1
|
@ -2013,6 +2013,7 @@ settings.mirror_settings.docs.doc_link_title = How do I mirror repositories?
|
||||||
settings.mirror_settings.docs.doc_link_pull_section = the "Pulling from a remote repository" section of the documentation.
|
settings.mirror_settings.docs.doc_link_pull_section = the "Pulling from a remote repository" section of the documentation.
|
||||||
settings.mirror_settings.docs.pulling_remote_title = Pulling from a remote repository
|
settings.mirror_settings.docs.pulling_remote_title = Pulling from a remote repository
|
||||||
settings.mirror_settings.mirrored_repository = Mirrored repository
|
settings.mirror_settings.mirrored_repository = Mirrored repository
|
||||||
|
settings.mirror_settings.pushed_repository = Pushed repository
|
||||||
settings.mirror_settings.direction = Direction
|
settings.mirror_settings.direction = Direction
|
||||||
settings.mirror_settings.direction.pull = Pull
|
settings.mirror_settings.direction.pull = Pull
|
||||||
settings.mirror_settings.direction.push = Push
|
settings.mirror_settings.direction.push = Push
|
||||||
|
|
|
@ -105,8 +105,9 @@
|
||||||
{{else}}
|
{{else}}
|
||||||
{{ctx.Locale.Tr "repo.settings.mirror_settings.docs.no_new_mirrors"}} {{ctx.Locale.Tr "repo.settings.mirror_settings.docs.can_still_use"}}<br>
|
{{ctx.Locale.Tr "repo.settings.mirror_settings.docs.no_new_mirrors"}} {{ctx.Locale.Tr "repo.settings.mirror_settings.docs.can_still_use"}}<br>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
|
{{if .Repository.IsMirror}}
|
||||||
<table class="ui table">
|
<table class="ui table">
|
||||||
{{if $existingPushMirror}}
|
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th style="width:40%">{{ctx.Locale.Tr "repo.settings.mirror_settings.mirrored_repository"}}</th>
|
<th style="width:40%">{{ctx.Locale.Tr "repo.settings.mirror_settings.mirrored_repository"}}</th>
|
||||||
|
@ -200,8 +201,18 @@
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
<thead><tr><th colspan="4"></th></tr></thead>
|
</table>
|
||||||
{{end}}{{/* end if: IsMirror */}}
|
{{end}}{{/* end if: IsMirror */}}
|
||||||
|
|
||||||
|
<table class="ui table">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th style="width:40%">{{ctx.Locale.Tr "repo.settings.mirror_settings.pushed_repository"}}</th>
|
||||||
|
<th>{{ctx.Locale.Tr "repo.settings.mirror_settings.direction"}}</th>
|
||||||
|
<th>{{ctx.Locale.Tr "repo.settings.mirror_settings.last_update"}}</th>
|
||||||
|
<th></th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{{range .PushMirrors}}
|
{{range .PushMirrors}}
|
||||||
<tr>
|
<tr>
|
||||||
|
|
Loading…
Reference in New Issue