diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/admin/auth/new.tmpl | 20 | ||||
-rw-r--r-- | templates/admin/dashboard.tmpl | 2 | ||||
-rw-r--r-- | templates/home.tmpl | 6 | ||||
-rw-r--r-- | templates/repo/settings/protected_branch.tmpl | 6 | ||||
-rw-r--r-- | templates/repo/settings/tags.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/settings/webhook/settings.tmpl | 2 | ||||
-rw-r--r-- | templates/status/500.tmpl | 2 | ||||
-rw-r--r-- | templates/user/settings/security/webauthn.tmpl | 2 |
8 files changed, 21 insertions, 21 deletions
diff --git a/templates/admin/auth/new.tmpl b/templates/admin/auth/new.tmpl index e3985cb227..be4995c784 100644 --- a/templates/admin/auth/new.tmpl +++ b/templates/admin/auth/new.tmpl @@ -91,29 +91,29 @@ <h5 class="ui top attached header">{{ctx.Locale.Tr "admin.auths.tip.oauth2_provider"}}</h5> <div class="ui attached segment"> <li>Bitbucket</li> - <span>{{ctx.Locale.Tr "admin.auths.tip.bitbucket"}}</span> + <span>{{ctx.Locale.Tr "admin.auths.tip.bitbucket" "https://bitbucket.org/account/user/{your-username}/oauth-consumers/new"}}</span> <li>Dropbox</li> - <span>{{ctx.Locale.Tr "admin.auths.tip.dropbox"}}</span> + <span>{{ctx.Locale.Tr "admin.auths.tip.dropbox" "https://www.dropbox.com/developers/apps"}}</span> <li>Facebook</li> - <span>{{ctx.Locale.Tr "admin.auths.tip.facebook"}}</span> + <span>{{ctx.Locale.Tr "admin.auths.tip.facebook" "https://developers.facebook.com/apps"}}</span> <li>GitHub</li> - <span>{{ctx.Locale.Tr "admin.auths.tip.github"}}</span> + <span>{{ctx.Locale.Tr "admin.auths.tip.github" "https://github.com/settings/applications/new"}}</span> <li>GitLab</li> - <span>{{ctx.Locale.Tr "admin.auths.tip.gitlab_new"}}</span> + <span>{{ctx.Locale.Tr "admin.auths.tip.gitlab_new" "https://gitlab.com/-/profile/applications"}}</span> <li>Google</li> - <span>{{ctx.Locale.Tr "admin.auths.tip.google_plus"}}</span> + <span>{{ctx.Locale.Tr "admin.auths.tip.google_plus" "https://console.developers.google.com/"}}</span> <li>OpenID Connect</li> <span>{{ctx.Locale.Tr "admin.auths.tip.openid_connect"}}</span> <li>Twitter</li> - <span>{{ctx.Locale.Tr "admin.auths.tip.twitter"}}</span> + <span>{{ctx.Locale.Tr "admin.auths.tip.twitter" "https://dev.twitter.com/apps"}}</span> <li>Discord</li> - <span>{{ctx.Locale.Tr "admin.auths.tip.discord"}}</span> + <span>{{ctx.Locale.Tr "admin.auths.tip.discord" "https://discordapp.com/developers/applications/me"}}</span> <li>Gitea</li> - <span>{{ctx.Locale.Tr "admin.auths.tip.gitea"}}</span> + <span>{{ctx.Locale.Tr "admin.auths.tip.gitea" "https://docs.gitea.com/development/oauth2-provider"}}</span> <li>Nextcloud</li> <span>{{ctx.Locale.Tr "admin.auths.tip.nextcloud"}}</span> <li>Yandex</li> - <span>{{ctx.Locale.Tr "admin.auths.tip.yandex"}}</span> + <span>{{ctx.Locale.Tr "admin.auths.tip.yandex" "https://oauth.yandex.com/client/new"}}</span> <li>Mastodon</li> <span>{{ctx.Locale.Tr "admin.auths.tip.mastodon"}}</span> </div> diff --git a/templates/admin/dashboard.tmpl b/templates/admin/dashboard.tmpl index 2f9875f0d9..b82922df0c 100644 --- a/templates/admin/dashboard.tmpl +++ b/templates/admin/dashboard.tmpl @@ -2,7 +2,7 @@ <div class="admin-setting-content"> {{if .NeedUpdate}} <div class="ui negative message flash-error"> - <p>{{ctx.Locale.Tr "admin.dashboard.new_version_hint" .RemoteVersion AppVer}}</p> + <p>{{ctx.Locale.Tr "admin.dashboard.new_version_hint" .RemoteVersion AppVer "https://blog.gitea.com"}}</p> </div> {{end}} <h4 class="ui top attached header"> diff --git a/templates/home.tmpl b/templates/home.tmpl index e6fd4ef020..116dc487dc 100644 --- a/templates/home.tmpl +++ b/templates/home.tmpl @@ -17,7 +17,7 @@ {{svg "octicon-flame"}} {{ctx.Locale.Tr "startpage.install"}} </h1> <p class="large"> - {{ctx.Locale.Tr "startpage.install_desc"}} + {{ctx.Locale.Tr "startpage.install_desc" "https://docs.gitea.com/installation/install-from-binary" "https://github.com/go-gitea/gitea/tree/master/docker" "https://docs.gitea.com/installation/install-from-package"}} </p> </div> <div class="eight wide center column"> @@ -25,7 +25,7 @@ {{svg "octicon-device-desktop"}} {{ctx.Locale.Tr "startpage.platform"}} </h1> <p class="large"> - {{ctx.Locale.Tr "startpage.platform_desc"}} + {{ctx.Locale.Tr "startpage.platform_desc" "https://go.dev/"}} </p> </div> </div> @@ -43,7 +43,7 @@ {{svg "octicon-code"}} {{ctx.Locale.Tr "startpage.license"}} </h1> <p class="large"> - {{ctx.Locale.Tr "startpage.license_desc"}} + {{ctx.Locale.Tr "startpage.license_desc" "https://code.gitea.io/gitea" "code.gitea.io/gitea" "https://github.com/go-gitea/gitea"}} </p> </div> </div> diff --git a/templates/repo/settings/protected_branch.tmpl b/templates/repo/settings/protected_branch.tmpl index 364b5ccc55..6fab4a625a 100644 --- a/templates/repo/settings/protected_branch.tmpl +++ b/templates/repo/settings/protected_branch.tmpl @@ -10,17 +10,17 @@ <label>{{ctx.Locale.Tr "repo.settings.protect_branch_name_pattern"}}</label> <input name="rule_name" type="text" value="{{.Rule.RuleName}}"> <input name="rule_id" type="hidden" value="{{.Rule.ID}}"> - <p class="help tw-ml-0">{{ctx.Locale.Tr "repo.settings.protect_branch_name_pattern_desc"}}</p> + <p class="help tw-ml-0">{{ctx.Locale.Tr "repo.settings.protect_branch_name_pattern_desc" "https://github.com/gobwas/glob"}}</p> </div> <div class="field"> <label>{{ctx.Locale.Tr "repo.settings.protect_protected_file_patterns"}}</label> <input name="protected_file_patterns" type="text" value="{{.Rule.ProtectedFilePatterns}}"> - <p class="help tw-ml-0">{{ctx.Locale.Tr "repo.settings.protect_protected_file_patterns_desc"}}</p> + <p class="help tw-ml-0">{{ctx.Locale.Tr "repo.settings.protect_protected_file_patterns_desc" "https://pkg.go.dev/github.com/gobwas/glob#Compile" "github.com/gobwas/glob"}}</p> </div> <div class="field"> <label>{{ctx.Locale.Tr "repo.settings.protect_unprotected_file_patterns"}}</label> <input name="unprotected_file_patterns" type="text" value="{{.Rule.UnprotectedFilePatterns}}"> - <p class="help tw-ml-0">{{ctx.Locale.Tr "repo.settings.protect_unprotected_file_patterns_desc"}}</p> + <p class="help tw-ml-0">{{ctx.Locale.Tr "repo.settings.protect_unprotected_file_patterns_desc" "https://pkg.go.dev/github.com/gobwas/glob#Compile" "github.com/gobwas/glob"}}</p> </div> {{.CsrfTokenHtml}} diff --git a/templates/repo/settings/tags.tmpl b/templates/repo/settings/tags.tmpl index c9efb7b67e..27b0f519a8 100644 --- a/templates/repo/settings/tags.tmpl +++ b/templates/repo/settings/tags.tmpl @@ -21,7 +21,7 @@ <div class="ui input"> <input class="prompt" name="name_pattern" autocomplete="off" value="{{.name_pattern}}" placeholder="v*" autofocus required> </div> - <div class="help">{{ctx.Locale.Tr "repo.settings.tags.protection.pattern.description"}}</div> + <div class="help">{{ctx.Locale.Tr "repo.settings.tags.protection.pattern.description" "https://docs.gitea.com/usage/protected-tags"}}</div> </div> </div> <div class="whitelist field"> diff --git a/templates/repo/settings/webhook/settings.tmpl b/templates/repo/settings/webhook/settings.tmpl index 6862ce5a2c..cf3b0eb053 100644 --- a/templates/repo/settings/webhook/settings.tmpl +++ b/templates/repo/settings/webhook/settings.tmpl @@ -255,7 +255,7 @@ <div class="field"> <label for="branch_filter">{{ctx.Locale.Tr "repo.settings.branch_filter"}}</label> <input id="branch_filter" name="branch_filter" type="text" value="{{or .Webhook.BranchFilter "*"}}"> - <span class="help">{{ctx.Locale.Tr "repo.settings.branch_filter_desc"}}</span> + <span class="help">{{ctx.Locale.Tr "repo.settings.branch_filter_desc" "https://pkg.go.dev/github.com/gobwas/glob#Compile" "github.com/gobwas/glob"}}</span> </div> <!-- Authorization Header --> diff --git a/templates/status/500.tmpl b/templates/status/500.tmpl index 0e8d0f6593..198f1ea898 100644 --- a/templates/status/500.tmpl +++ b/templates/status/500.tmpl @@ -43,7 +43,7 @@ {{end}} <div class="tw-mt-8 tw-text-center"> {{if or .SignedUser.IsAdmin .ShowFooterVersion}}<p>{{ctx.Locale.Tr "admin.config.app_ver"}}: {{AppVer}}</p>{{end}} - {{if .SignedUser.IsAdmin}}<p>{{ctx.Locale.Tr "error.report_message"}}</p>{{end}} + {{if .SignedUser.IsAdmin}}<p>{{ctx.Locale.Tr "error.report_message" "https://github.com/go-gitea/gitea/issues"}}</p>{{end}} </div> </div> </div> diff --git a/templates/user/settings/security/webauthn.tmpl b/templates/user/settings/security/webauthn.tmpl index eceee191bd..280ece9175 100644 --- a/templates/user/settings/security/webauthn.tmpl +++ b/templates/user/settings/security/webauthn.tmpl @@ -1,6 +1,6 @@ <h4 class="ui top attached header">{{ctx.Locale.Tr "settings.webauthn"}}</h4> <div class="ui attached segment"> - <p>{{ctx.Locale.Tr "settings.webauthn_desc"}}</p> + <p>{{ctx.Locale.Tr "settings.webauthn_desc" "https://w3c.github.io/webauthn/#webauthn-authenticator"}}</p> <p>{{ctx.Locale.Tr "settings.webauthn_key_loss_warning"}} {{ctx.Locale.Tr "settings.webauthn_alternative_tip"}}</p> {{template "user/auth/webauthn_error" .}} <div class="flex-list"> |