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
05de390f
Unverified
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
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletion
+13
-1
dashboard.scss
app/assets/stylesheets/sections/dashboard.scss
+11
-1
_project.html.haml
app/views/dashboard/_project.html.haml
+1
-0
_projects.html.haml
app/views/groups/_projects.html.haml
+1
-0
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
.dash-project-access-icon
=
visibility_level_icon
(
project
.
visibility_level
)
%span
.namespace-name
-
if
project
.
namespace
...
...
app/views/groups/_projects.html.haml
View file @
05de390f
...
...
@@ -12,6 +12,7 @@
-
projects
.
each
do
|
project
|
%li
.project-row
=
link_to
project_path
(
project
),
class:
dom_class
(
project
)
do
.dash-project-access-icon
=
visibility_level_icon
(
project
.
visibility_level
)
%span
.project-name
=
truncate
(
project
.
name
,
length:
25
)
...
...
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