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:
-rw-r--r--app/assets/stylesheets/common.scss9
-rw-r--r--app/views/shared/_no_ssh.html.haml9
2 files changed, 7 insertions, 11 deletions
diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss
index 843b683f4eb..5eedd8ff0ad 100644
--- a/app/assets/stylesheets/common.scss
+++ b/app/assets/stylesheets/common.scss
@@ -628,10 +628,11 @@ li.note {
.error_message {
@extend .cred;
- border-bottom: 1px solid #D21;
- padding-bottom:20px;
- text-align:center;
- margin-bottom:10px;
+ border-left: 4px solid #E99;
+ padding: 10px;
+ margin-bottom: 10px;
+ background: #FEE;
+ padding-left: 20px;
}
.oauth_select_holder {
diff --git a/app/views/shared/_no_ssh.html.haml b/app/views/shared/_no_ssh.html.haml
index a11f2bc478c..c75a1d93b70 100644
--- a/app/views/shared/_no_ssh.html.haml
+++ b/app/views/shared/_no_ssh.html.haml
@@ -1,8 +1,3 @@
- if current_user.require_ssh_key?
- %h6.error_message
- %span
- You won't be able to pull or push project code until you
- %strong
- = link_to new_key_path, class: "vlink" do
- add an SSH key
- to your profile
+ %p.error_message
+ You won't be able to pull or push project code until you #{link_to 'add an SSH key', new_key_path} to your profile