File tree 2 files changed +10
-1
lines changed
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -1228,6 +1228,7 @@ migrate.migrating_issues = Migrating Issues
1228
1228
migrate.migrating_pulls = Migrating Pull Requests
1229
1229
migrate.cancel_migrating_title = Cancel Migration
1230
1230
migrate.cancel_migrating_confirm = Do you want to cancel this migration?
1231
+ migrating_status = Migrating status
1231
1232
1232
1233
mirror_from = mirror of
1233
1234
forked_from = forked from
Original file line number Diff line number Diff line change 226
226
</a>
227
227
{{end}}
228
228
</div>
229
- {{else if .Permission.IsAdmin }}
229
+ {{else}}
230
230
<div class="overflow-menu-items">
231
+ {{if(and .Repository.IsBeingCreated (.Permission.CanRead ctx.Consts.RepoUnitTypeCode))}}
232
+ <a class="{{if not .PageIsRepoSettings}}active {{end}}item" href="{{.RepoLink}}">
233
+ {{svg "octicon-clock"}} {{ctx.Locale.Tr "repo.migrating_status"}}
234
+ </a>
235
+ {{end}}
236
+
237
+ {{if .Permission.IsAdmin}}
231
238
<a class="{{if .PageIsRepoSettings}}active {{end}} item" href="{{.RepoLink}}/settings">
232
239
{{svg "octicon-tools"}} {{ctx.Locale.Tr "repo.settings"}}
233
240
</a>
241
+ {{end}}
234
242
</div>
235
243
{{end}}
236
244
</overflow-menu>
You can’t perform that action at this time.
0 commit comments