Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
0175e665
Commit
0175e665
authored
Aug 10, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hide no-ssh message if notice or alert present
parent
37cf2eb6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
8 deletions
+4
-8
app/assets/stylesheets/common.scss
app/assets/stylesheets/common.scss
+1
-5
app/views/layouts/_flash.html.haml
app/views/layouts/_flash.html.haml
+2
-2
app/views/shared/_no_ssh.html.haml
app/views/shared/_no_ssh.html.haml
+1
-1
No files found.
app/assets/stylesheets/common.scss
View file @
0175e665
...
...
@@ -49,12 +49,8 @@ table a code {
cursor
:
pointer
;
margin
:
0
;
text-align
:
center
;
border-radius
:
0
;
color
:
#fff
;
span
{
font-size
:
14px
;
}
font-size
:
14px
;
.flash-notice
{
background
:
#49C
;
...
...
app/views/layouts/_flash.html.haml
View file @
0175e665
.flash-container
-
if
alert
.flash-alert
%span
=
alert
=
alert
-
elsif
notice
.flash-notice
%span
=
notice
=
notice
app/views/shared/_no_ssh.html.haml
View file @
0175e665
-
if
current_user
.
require_ssh_key?
-
if
current_user
.
require_ssh_key?
&&
alert
.
blank?
&&
notice
.
blank?
%p
.error-message.centered
You won't be able to pull or push project code via SSH until you
#{
link_to
'add an SSH key'
,
new_profile_key_path
}
to your profile
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment