styled error message

This commit is contained in:
Dmitriy Zaporozhets 2012-11-21 06:14:05 +03:00
parent c1c1a1eeee
commit d18e2bd59d
2 changed files with 7 additions and 11 deletions

View file

@ -628,10 +628,11 @@ li.note {
.error_message { .error_message {
@extend .cred; @extend .cred;
border-bottom: 1px solid #D21; border-left: 4px solid #E99;
padding-bottom:20px; padding: 10px;
text-align:center; margin-bottom: 10px;
margin-bottom:10px; background: #FEE;
padding-left: 20px;
} }
.oauth_select_holder { .oauth_select_holder {

View file

@ -1,8 +1,3 @@
- if current_user.require_ssh_key? - if current_user.require_ssh_key?
%h6.error_message %p.error_message
%span 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
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