From fb8535e305217537498e274dd14c562a4ea7e80b Mon Sep 17 00:00:00 2001 From: Morgan Bazalgette Date: Sun, 29 Apr 2018 21:34:59 +0200 Subject: [PATCH] Make Generate New Token panel shown by default (#3832) This is mostly a 'feel' change. The behaviour that is currently on the access tokens pages is, as far as I know, not present in any other parts of the frontend, and there's no real good reason to keep the 'Generate New Token' panel hidden by default in my opinion. --- templates/user/settings/applications.tmpl | 36 ++++++++++------------- 1 file changed, 15 insertions(+), 21 deletions(-) diff --git a/templates/user/settings/applications.tmpl b/templates/user/settings/applications.tmpl index 66a011ac9..4ad5eaa71 100644 --- a/templates/user/settings/applications.tmpl +++ b/templates/user/settings/applications.tmpl @@ -5,9 +5,6 @@ {{template "base/alert" .}}

{{.i18n.Tr "settings.manage_access_token"}} -
-
{{.i18n.Tr "settings.generate_new_token"}}
-

@@ -32,24 +29,21 @@ {{end}}
-
-
-

- {{.i18n.Tr "settings.generate_new_token"}} -

-
-
- {{.CsrfTokenHtml}} -

{{.i18n.Tr "settings.new_token_desc"}}

-
- - -
- -
-
+

+ {{.i18n.Tr "settings.generate_new_token"}} +

+
+

{{.i18n.Tr "settings.new_token_desc"}}

+
+ {{.CsrfTokenHtml}} +
+ + +
+ +