diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl index 3b76e0ace6..a129f661b5 100644 --- a/templates/repo/create.tmpl +++ b/templates/repo/create.tmpl @@ -10,7 +10,9 @@
{{.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}}