File tree 2 files changed +15
-3
lines changed
2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -2013,6 +2013,7 @@ settings.mirror_settings.docs.doc_link_title = How do I mirror repositories?
2013
2013
settings.mirror_settings.docs.doc_link_pull_section = the " Pulling from a remote repository" section of the documentation.
2014
2014
settings.mirror_settings.docs.pulling_remote_title = Pulling from a remote repository
2015
2015
settings.mirror_settings.mirrored_repository = Mirrored repository
2016
+ settings.mirror_settings.pushed_repository = Pushed repository
2016
2017
settings.mirror_settings.direction = Direction
2017
2018
settings.mirror_settings.direction.pull = Pull
2018
2019
settings.mirror_settings.direction.push = Push
Original file line number Diff line number Diff line change 105
105
{{else}}
106
106
{{ctx.Locale.Tr "repo.settings.mirror_settings.docs.no_new_mirrors"}} {{ctx.Locale.Tr "repo.settings.mirror_settings.docs.can_still_use"}}<br>
107
107
{{end}}
108
+
109
+ {{if .Repository.IsMirror}}
108
110
<table class="ui table">
109
- {{if $existingPushMirror}}
110
111
<thead>
111
112
<tr>
112
113
<th style="width:40%">{{ctx.Locale.Tr "repo.settings.mirror_settings.mirrored_repository"}}</th>
200
201
</td>
201
202
</tr>
202
203
</tbody>
203
- <thead><tr><th colspan="4"></th></tr></thead>
204
- {{end}}{{/* end if: IsMirror */}}
204
+ </table>
205
+ {{end}}{{/* end if: IsMirror */}}
206
+
207
+ <table class="ui table">
208
+ <thead>
209
+ <tr>
210
+ <th style="width:40%">{{ctx.Locale.Tr "repo.settings.mirror_settings.pushed_repository"}}</th>
211
+ <th>{{ctx.Locale.Tr "repo.settings.mirror_settings.direction"}}</th>
212
+ <th>{{ctx.Locale.Tr "repo.settings.mirror_settings.last_update"}}</th>
213
+ <th></th>
214
+ </tr>
215
+ </thead>
205
216
<tbody>
206
217
{{range .PushMirrors}}
207
218
<tr>
You can’t perform that action at this time.
0 commit comments