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:
authorConnor Smallman <connor.smallman@bedegaming.com>2017-01-03 22:13:47 +0300
committerConnor Smallman <connor.smallman@bedegaming.com>2017-01-11 10:12:38 +0300
commitf68a715366e3ecbdd479e363576842e1a9dfc559 (patch)
tree157c63566dd87c02b7d0dc8d33761fe8a37c36f8 /app/views/shared/_no_ssh.html.haml
parent8dc2163ce580f1d71be1cf45e5dfcb2b4763d7bb (diff)
Removed `hidden-xs` class from alerts
Centered alert text and prevented alert actions links from floating right for viewports below medium width (992px) Centered alert text stopped alert actions from floating right for viewports below medium width (992px) Update styles to use correct screen width variable for max-width media query Added unreleased changelog Added class to alert links wrapper Updated styles for new class, float alert links on larger screens
Diffstat (limited to 'app/views/shared/_no_ssh.html.haml')
-rw-r--r--app/views/shared/_no_ssh.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/shared/_no_ssh.html.haml b/app/views/shared/_no_ssh.html.haml
index bb5fff2d3bb..d663fa13d10 100644
--- a/app/views/shared/_no_ssh.html.haml
+++ b/app/views/shared/_no_ssh.html.haml
@@ -1,8 +1,8 @@
- if cookies[:hide_no_ssh_message].blank? && !current_user.hide_no_ssh_key && current_user.require_ssh_key?
- .no-ssh-key-message.alert.alert-warning.hidden-xs
+ .no-ssh-key-message.alert.alert-warning
You won't be able to pull or push project code via SSH until you #{link_to 'add an SSH key', profile_keys_path, class: 'alert-link'} to your profile
- .pull-right
+ .alert-link-group
= link_to "Don't show again", profile_path(user: {hide_no_ssh_key: true}), method: :put, class: 'alert-link'
|
= link_to 'Remind later', '#', class: 'hide-no-ssh-message alert-link'