diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl index 3b76e0ace..a129f661b 100644 --- a/templates/repo/create.tmpl +++ b/templates/repo/create.tmpl @@ -10,7 +10,9 @@
{{template "base/alert" .}} -

{{.i18n.Tr "repo.new_repo_helper" (printf "%s%s" AppSubUrl "/repo/migrate") | Safe}}

+ {{if not $.DisableMigrations}} +

{{.i18n.Tr "repo.new_repo_helper" (printf "%s%s" AppSubUrl "/repo/migrate") | Safe}}

+ {{end}} {{if not .CanCreateRepo}}