1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

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.
This commit is contained in:
Brecht Van Lommel
2023-01-24 20:01:39 +01:00
committed by techknowlogick
parent 25f4b7d7cd
commit a31fedd2c2
4 changed files with 5 additions and 4 deletions

View File

@@ -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}}