From cf8f66e5dcebc07fd1975806e94b69ad557a13ed Mon Sep 17 00:00:00 2001 From: KN4CK3R Date: Wed, 14 Apr 2021 21:43:17 +0200 Subject: [PATCH] Use subdir for URL (#15446) Fixes #15444 --- templates/repo/create.tmpl | 2 +- templates/repo/issue/labels/label_list.tmpl | 2 +- templates/user/auth/activate.tmpl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl index 4aabcb6bb3..3b76e0ace6 100644 --- a/templates/repo/create.tmpl +++ b/templates/repo/create.tmpl @@ -10,7 +10,7 @@
{{template "base/alert" .}} -

{{.i18n.Tr "repo.new_repo_helper" "/repo/migrate" | Safe}}

+

{{.i18n.Tr "repo.new_repo_helper" (printf "%s%s" AppSubUrl "/repo/migrate") | Safe}}

{{if not .CanCreateRepo}}
diff --git a/templates/repo/issue/labels/label_list.tmpl b/templates/repo/issue/labels/label_list.tmpl index 4faec9a5ab..cbca86d6ca 100644 --- a/templates/repo/issue/labels/label_list.tmpl +++ b/templates/repo/issue/labels/label_list.tmpl @@ -40,7 +40,7 @@
{{if $.PageIsOrgSettingsLabels}} - {{svg "octicon-issue-opened"}} {{$.i18n.Tr "repo.issues.label_open_issues" .NumOpenIssues}} + {{svg "octicon-issue-opened"}} {{$.i18n.Tr "repo.issues.label_open_issues" .NumOpenIssues}} {{else}} {{svg "octicon-issue-opened"}} {{$.i18n.Tr "repo.issues.label_open_issues" .NumOpenIssues}} {{end}} diff --git a/templates/user/auth/activate.tmpl b/templates/user/auth/activate.tmpl index 7f9021ae4f..cc6f52b571 100644 --- a/templates/user/auth/activate.tmpl +++ b/templates/user/auth/activate.tmpl @@ -19,7 +19,7 @@ {{end}} {{else}} {{if .NeedsPassword}} -
+