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

Use print instead of printf (#27093)

A bit more performant when we only use it for appending strings.
This commit is contained in:
KN4CK3R
2023-09-16 05:51:54 +02:00
committed by GitHub
parent 7cdbe65a2c
commit f3f445862e
7 changed files with 23 additions and 23 deletions

View File

@@ -1,3 +1,3 @@
{{if not $.DisableMigrations}}
<p class="ui center">{{.locale.Tr "repo.new_repo_helper" ((printf "%s%s" AppSubUrl "/repo/migrate")|Escape) | Safe}}</p>
<p class="ui center">{{.locale.Tr "repo.new_repo_helper" ((print AppSubUrl "/repo/migrate")|Escape) | Safe}}</p>
{{end}}