diff options
author | Giteabot <teabot@gitea.io> | 2024-06-07 23:43:47 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-07 15:43:47 +0000 |
commit | bbe98a3254e65eb8b9ec8fddf5e0ffe416a96614 (patch) | |
tree | 4ff7b529e6d23302b561654fa7496f1c85ee18f0 /templates/user | |
parent | 5ca4c6d0667eb7da229e11a043f5787a12d0d48e (diff) | |
download | gitea-bbe98a3254e65eb8b9ec8fddf5e0ffe416a96614.tar.gz gitea-bbe98a3254e65eb8b9ec8fddf5e0ffe416a96614.zip |
Fix some URLs whose sub-path is missing (#31289) (#31292)
Backport #31289 by wxiaoguang
Fix #31285
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'templates/user')
-rw-r--r-- | templates/user/settings/applications.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/settings/applications.tmpl b/templates/user/settings/applications.tmpl index 8c67653e58..3c1934dd8b 100644 --- a/templates/user/settings/applications.tmpl +++ b/templates/user/settings/applications.tmpl @@ -75,7 +75,7 @@ {{ctx.Locale.Tr "settings.select_permissions"}} </summary> <p class="activity meta"> - <i>{{ctx.Locale.Tr "settings.access_token_desc" (`href="/api/swagger" target="_blank"`|SafeHTML) (`href="https://docs.gitea.com/development/oauth2-provider#scopes" target="_blank"`|SafeHTML)}}</i> + <i>{{ctx.Locale.Tr "settings.access_token_desc" (HTMLFormat `href="%s/api/swagger" target="_blank"` AppSubUrl) (`href="https://docs.gitea.com/development/oauth2-provider#scopes" target="_blank"`|SafeHTML)}}</i> </p> <div class="scoped-access-token-mount"> <scoped-access-token-selector |