From 29e4c5794248adc3be2cca2d500df9965d7b92eb Mon Sep 17 00:00:00 2001 From: Morgan Bazalgette Date: Sun, 22 Apr 2018 20:13:00 +0200 Subject: [PATCH] Make Generate New Token panel shown by default 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 66a011ac9ac3f..4ad5eaa71474a 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}} +
+ + +
+ +