summaryrefslogtreecommitdiffstats
path: root/templates/repo/create_helper.tmpl
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2023-01-24 20:01:39 +0100
committertechknowlogick <matti@mdranta.net>2023-01-24 22:36:48 -0500
commita31fedd2c2def13e29a962c751c449491d5a1588 (patch)
treebce4730500a2ab5496ce94047575ccd3c9355100 /templates/repo/create_helper.tmpl
parent25f4b7d7cd490384d8e714109036bbbbed2473ba (diff)
downloadgitea-a31fedd2c2def13e29a962c751c449491d5a1588.tar.gz
gitea-a31fedd2c2def13e29a962c751c449491d5a1588.zip
Add templates to customize text when creating and migrating repositories
These can be used to explain which types of repositories a Gitea instance is willing to host, or other rules for creating repositories.
Diffstat (limited to 'templates/repo/create_helper.tmpl')
-rw-r--r--templates/repo/create_helper.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/repo/create_helper.tmpl b/templates/repo/create_helper.tmpl
new file mode 100644
index 0000000000..ec253e961d
--- /dev/null
+++ b/templates/repo/create_helper.tmpl
@@ -0,0 +1,3 @@
+{{if not $.DisableMigrations}}
+ <p class="ui center">{{.locale.Tr "repo.new_repo_helper" ((printf "%s%s" AppSubUrl "/repo/migrate")|Escape) | Safe}}</p>
+{{end}}