summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorKyle D <kdumontnu@gmail.com>2023-05-05 11:41:44 -0400
committerGitHub <noreply@github.com>2023-05-05 11:41:44 -0400
commit09dd4b42c7afe3f474d900b9d5856af2929a12ea (patch)
tree1dda3f90598e0e10d41f7b65fc95cf890ae62a25 /templates
parentea1afb945d223e3ce670ffcb82fa0d9e0846b8bf (diff)
downloadgitea-09dd4b42c7afe3f474d900b9d5856af2929a12ea.tar.gz
gitea-09dd4b42c7afe3f474d900b9d5856af2929a12ea.zip
Temporarily disable PATs until next release (#24527)
This might be a bit contentious, but I think we should try to limit the impact of deprecating scoped PATs with the rewrite proposed here we're working on for v1.20: https://github.com/go-gitea/gitea/issues/24501 We should have a PR opened shortly to re-scope the routes.
Diffstat (limited to 'templates')
-rw-r--r--templates/user/settings/applications.tmpl7
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/user/settings/applications.tmpl b/templates/user/settings/applications.tmpl
index a9ca652564..39ea90e92a 100644
--- a/templates/user/settings/applications.tmpl
+++ b/templates/user/settings/applications.tmpl
@@ -18,7 +18,9 @@
</div>
<i class="text {{if .HasRecentActivity}}green{{end}}" {{if .HasRecentActivity}}data-tooltip-content="{{$.locale.Tr "settings.token_state_desc"}}"{{end}}>{{svg "fontawesome-send" 36}}</i>
<div class="content">
- <details><summary><strong>{{.Name}}</strong></summary>
+ <!--Temporarily disable-->
+ <strong>{{.Name}}</strong>
+ <details class="gt-hidden"><summary><strong>{{.Name}}</strong></summary>
<p class="gt-my-2">{{$.locale.Tr "settings.scopes_list"}}</p>
<ul class="gt-my-2">
{{range .Scope.StringSlice}}
@@ -45,7 +47,8 @@
<label for="name">{{.locale.Tr "settings.token_name"}}</label>
<input id="name" name="name" value="{{.name}}" autofocus required>
</div>
- <details class="ui optional field">
+ <!--Temporarily disable-->
+ <details class="gt-hidden ui optional field">
<summary class="gt-p-2">
{{.locale.Tr "settings.select_scopes"}}
</summary>