File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -987,6 +987,7 @@ mirror_prune = Prune
987987mirror_prune_desc = Remove obsolete remote-tracking references
988988mirror_interval = Mirror Interval (valid time units are ' h' , ' m' , ' s' ). 0 to disable periodic sync. (Minimum interval: %s)
989989mirror_interval_invalid = The mirror interval is not valid.
990+ mirror_sync = synced
990991mirror_sync_on_commit = Sync when commits are pushed
991992mirror_address = Clone From URL
992993mirror_address_desc = Put any required credentials in the Authorization section.
Original file line number Diff line number Diff line change 2828 <div class="repo-icon" data-tooltip-content="{{ctx.Locale.Tr "repo.desc.template"}}">{{svg "octicon-repo-template" 18}}</div>
2929 {{end}}
3030 </div>
31- {{if $.PullMirror}}
32- <div class="fork-flag">
33- {{ctx.Locale.Tr "repo.mirror_from"}}
34- <a target="_blank" rel="noopener noreferrer" href="{{$.PullMirror.RemoteAddress}}">{{$.PullMirror.RemoteAddress}}</a>
35- {{if $.PullMirror.UpdatedUnix}}{{ctx.Locale.Tr "repo.mirror_sync"}} {{TimeSinceUnix $.PullMirror.UpdatedUnix ctx.Locale}}{{end}}
36- </div>
37- {{end}}
3831 </div>
3932 {{if not (or .IsBeingCreated .IsBroken)}}
4033 <div class="repo-buttons">
147140 </div>
148141 {{end}}
149142 </div>
150- {{if $.PullMirror}}<div class="fork-flag">{{ctx.Locale.Tr "repo.mirror_from"}} <a target="_blank" rel="noopener noreferrer" href="{{$.PullMirror.RemoteAddress}}">{{$.PullMirror.RemoteAddress}}</a></div>{{end}}
143+ {{if $.PullMirror}}
144+ <div class="fork-flag">
145+ {{ctx.Locale.Tr "repo.mirror_from"}}
146+ <a target="_blank" rel="noopener noreferrer" href="{{$.PullMirror.RemoteAddress}}">{{$.PullMirror.RemoteAddress}}</a>
147+ {{if $.PullMirror.UpdatedUnix}}{{ctx.Locale.Tr "repo.mirror_sync"}} {{TimeSinceUnix $.PullMirror.UpdatedUnix ctx.Locale}}{{end}}
148+ </div>
149+ {{end}}
151150 {{if .IsFork}}<div class="fork-flag">{{ctx.Locale.Tr "repo.forked_from"}} <a href="{{.BaseRepo.Link}}">{{.BaseRepo.FullName}}</a></div>{{end}}
152151 {{if .IsGenerated}}<div class="fork-flag">{{ctx.Locale.Tr "repo.generated_from"}} <a href="{{(.TemplateRepo ctx).Link}}">{{(.TemplateRepo ctx).FullName}}</a></div>{{end}}
153152 </div>
You can’t perform that action at this time.
0 commit comments