diff options
author | Brecht Van Lommel <brecht@blender.org> | 2023-01-24 20:01:39 +0100 |
---|---|---|
committer | techknowlogick <matti@mdranta.net> | 2023-01-24 22:36:48 -0500 |
commit | a31fedd2c2def13e29a962c751c449491d5a1588 (patch) | |
tree | bce4730500a2ab5496ce94047575ccd3c9355100 /templates/repo/create_helper.tmpl | |
parent | 25f4b7d7cd490384d8e714109036bbbbed2473ba (diff) | |
download | gitea-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.tmpl | 3 |
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}} |