Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Andrew <mail@timothyandrew.net>2016-06-09 11:38:49 +0300
committerTimothy Andrew <mail@timothyandrew.net>2016-06-09 11:38:49 +0300
commit1f5ecf916ee7b1d34fbf8775890b2aada2055384 (patch)
tree72358f3dd981de0ead3effcbb84b65a7d5c3fdb4 /app/controllers/profiles/personal_access_tokens_controller.rb
parent0dff6fd7148957fa94d2626e3912cd929ba150d3 (diff)
Implement @jschatz1's comments.
- No hardcoded colors in any SCSS file except `variables.scss` - Don't allow choosing a date in the past - Use the same table as in the "Applications" tab - The button should say "Create Personal Access Token" - Float the revoke button to the right of the table cell - Change the revocation message to be more explicit. - Date shouldn't look selected on page load - Don't use a panel for the created token - Use a normal flash for "Your new personal access token has been created" - Show the input (with the token) below it full width. - Put the "Make sure you save it - you won't be able to access it again." message near the input - Have the created token's input highlight all on single click
Diffstat (limited to 'app/controllers/profiles/personal_access_tokens_controller.rb')
-rw-r--r--app/controllers/profiles/personal_access_tokens_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/profiles/personal_access_tokens_controller.rb b/app/controllers/profiles/personal_access_tokens_controller.rb
index a1545a5dd00..86e08fed8e2 100644
--- a/app/controllers/profiles/personal_access_tokens_controller.rb
+++ b/app/controllers/profiles/personal_access_tokens_controller.rb
@@ -10,7 +10,7 @@ class Profiles::PersonalAccessTokensController < Profiles::ApplicationController
if @personal_access_token.save
flash[:personal_access_token] = @personal_access_token.token
- redirect_to profile_personal_access_tokens_path
+ redirect_to profile_personal_access_tokens_path, notice: "Your new personal access token has been created."
else
load_personal_access_tokens
render :index