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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
ff7055ee
Commit
ff7055ee
authored
Jan 26, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'redesign-project-avatar' into 'master'
Redesign project avatar page See merge request !1437
parents
b926b023
e20dba02
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
5 deletions
+20
-5
app/assets/stylesheets/sections/projects.scss
app/assets/stylesheets/sections/projects.scss
+18
-4
app/views/projects/_home_panel.html.haml
app/views/projects/_home_panel.html.haml
+2
-1
No files found.
app/assets/stylesheets/sections/projects.scss
View file @
ff7055ee
...
...
@@ -16,6 +16,8 @@
.project-home-panel
{
margin-bottom
:
15px
;
position
:
relative
;
padding-left
:
85px
;
&
.empty-project
{
border-bottom
:
0px
;
...
...
@@ -23,6 +25,22 @@
margin-bottom
:
0px
;
}
.project-identicon-holder
{
position
:
absolute
;
left
:
0
;
.avatar
{
width
:
70px
;
height
:
70px
;
@include
border-radius
(
0px
);
}
.identicon
{
font-size
:
45px
;
line-height
:
1
.6
;
}
}
.project-home-dropdown
{
margin-left
:
10px
;
float
:
right
;
...
...
@@ -36,10 +54,6 @@
float
:
left
;
color
:
#666
;
font-size
:
16px
;
.avatar
{
margin-top
:
-5px
;
}
}
.star-fork-buttons
{
...
...
app/views/projects/_home_panel.html.haml
View file @
ff7055ee
-
empty_repo
=
@project
.
empty_repo?
.project-home-panel
{
:class
=>
(
"empty-project"
if
empty_repo
)}
.project-identicon-holder
=
project_icon
(
@project
.
to_param
,
alt:
''
,
class:
'avatar'
)
.project-home-row
.project-home-desc
=
project_icon
(
@project
.
to_param
,
alt:
''
,
class:
'avatar s32'
)
-
if
@project
.
description
.
present?
=
escaped_autolink
(
@project
.
description
)
-
if
can?
(
current_user
,
:admin_project
,
@project
)
...
...
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