BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
ab129f7b
Unverified
Commit
ab129f7b
authored
Nov 03, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve profile page UI
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
86c0d8d2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
8 deletions
+35
-8
profile.scss
app/assets/stylesheets/pages/profile.scss
+22
-0
show.html.haml
app/views/users/show.html.haml
+13
-8
No files found.
app/assets/stylesheets/pages/profile.scss
View file @
ab129f7b
...
...
@@ -53,3 +53,25 @@
float
:
right
;
font-size
:
12px
;
}
.profile-link-holder
{
display
:
inline
;
&
:after
{
content
:
"\00B7"
;
padding
:
0px
6px
;
font-weight
:
bold
;
}
&
:last-child
{
&
:after
{
content
:
""
;
padding
:
0
;
}
}
a
{
color
:
$blue-dark
;
text-decoration
:
none
;
}
}
app/views/users/show.html.haml
View file @
ab129f7b
...
...
@@ -24,21 +24,26 @@
.cover-desc
-
unless
@user
.
public_email
.
blank?
.profile-link-holder
=
link_to
@user
.
public_email
,
"mailto:
#{
@user
.
public_email
}
"
-
unless
@user
.
skype
.
blank?
·
=
link_to
"Skype"
,
"skype:
#{
@user
.
skype
}
"
.profile-link-holder
=
link_to
"skype:
#{
@user
.
skype
}
"
,
title:
"Skype"
do
=
icon
(
'skype'
)
-
unless
@user
.
linkedin
.
blank?
·
=
link_to
"LinkedIn"
,
"http://www.linkedin.com/in/
#{
@user
.
linkedin
}
"
.profile-link-holder
=
link_to
"http://www.linkedin.com/in/
#{
@user
.
linkedin
}
"
,
title:
"LinkedIn"
do
=
icon
(
'linkedin-square'
)
-
unless
@user
.
twitter
.
blank?
·
=
link_to
"Twitter"
,
"http://www.twitter.com/
#{
@user
.
twitter
}
"
.profile-link-holder
=
link_to
"http://www.twitter.com/
#{
@user
.
twitter
}
"
,
title:
"Twitter"
do
=
icon
(
'twitter-square'
)
-
unless
@user
.
website_url
.
blank?
·
.profile-link-holder
=
link_to
@user
.
short_website_url
,
@user
.
full_website_url
-
unless
@user
.
location
.
blank?
·
.profile-link-holder
=
icon
(
'map-marker'
)
=
@user
.
location
...
...
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