diff options
Diffstat (limited to 'templates/org')
-rw-r--r-- | templates/org/home.tmpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/org/home.tmpl b/templates/org/home.tmpl index 024be119bd..fba7de3f1f 100644 --- a/templates/org/home.tmpl +++ b/templates/org/home.tmpl @@ -28,6 +28,9 @@ <div class="ui eleven wide column"> {{if .CanCreateOrgRepo}} <div class="text right"> + {{if not .DisabledMirrors}} + <a class="ui green button" href="{{AppSubUrl}}/repo/migrate?org={{.Org.ID}}&mirror=1">{{.i18n.Tr "new_migrate"}}</a> + {{end}} <a class="ui green button" href="{{AppSubUrl}}/repo/create?org={{.Org.ID}}">{{.i18n.Tr "new_repo"}}</a> </div> <div class="ui divider"></div> |