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
Léo-Paul Géneau
gitlab-ce
Commits
05de390f
Commit
05de390f
authored
Dec 26, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Style project visibility icons on dashboard
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
fd6fc422
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
3 deletions
+15
-3
app/assets/stylesheets/sections/dashboard.scss
app/assets/stylesheets/sections/dashboard.scss
+11
-1
app/views/dashboard/_project.html.haml
app/views/dashboard/_project.html.haml
+2
-1
app/views/groups/_projects.html.haml
app/views/groups/_projects.html.haml
+2
-1
No files found.
app/assets/stylesheets/sections/dashboard.scss
View file @
05de390f
...
...
@@ -66,7 +66,7 @@
}
.project-row
,
.group-row
{
padding
:
10px
1
5
px
!
important
;
padding
:
10px
1
2
px
!
important
;
.namespace-name
{
color
:
#666
;
...
...
@@ -122,3 +122,13 @@
color
:
#BBB
;
}
}
.dash-project-access-icon
{
float
:
left
;
margin-right
:
10px
;
font-size
:
18px
;
color
:
#BBB
;
margin-bottom
:
10px
;
margin-top
:
2px
;
width
:
16px
;
}
app/views/dashboard/_project.html.haml
View file @
05de390f
=
link_to
project_path
(
project
),
class:
dom_class
(
project
)
do
=
visibility_level_icon
(
project
.
visibility_level
)
.dash-project-access-icon
=
visibility_level_icon
(
project
.
visibility_level
)
%span
.namespace-name
-
if
project
.
namespace
=
project
.
namespace
.
human_name
...
...
app/views/groups/_projects.html.haml
View file @
05de390f
...
...
@@ -12,7 +12,8 @@
-
projects
.
each
do
|
project
|
%li
.project-row
=
link_to
project_path
(
project
),
class:
dom_class
(
project
)
do
=
visibility_level_icon
(
project
.
visibility_level
)
.dash-project-access-icon
=
visibility_level_icon
(
project
.
visibility_level
)
%span
.project-name
=
truncate
(
project
.
name
,
length:
25
)
%span
.arrow
...
...
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