Commit 05de390f authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Style project visibility icons on dashboard

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent fd6fc422
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
} }
.project-row, .group-row { .project-row, .group-row {
padding: 10px 15px !important; padding: 10px 12px !important;
.namespace-name { .namespace-name {
color: #666; color: #666;
...@@ -122,3 +122,13 @@ ...@@ -122,3 +122,13 @@
color: #BBB; color: #BBB;
} }
} }
.dash-project-access-icon {
float: left;
margin-right: 10px;
font-size: 18px;
color: #BBB;
margin-bottom: 10px;
margin-top: 2px;
width: 16px;
}
= link_to project_path(project), class: dom_class(project) do = link_to project_path(project), class: dom_class(project) do
.dash-project-access-icon
= visibility_level_icon(project.visibility_level) = visibility_level_icon(project.visibility_level)
%span.namespace-name %span.namespace-name
- if project.namespace - if project.namespace
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
- projects.each do |project| - projects.each do |project|
%li.project-row %li.project-row
= link_to project_path(project), class: dom_class(project) do = link_to project_path(project), class: dom_class(project) do
.dash-project-access-icon
= visibility_level_icon(project.visibility_level) = visibility_level_icon(project.visibility_level)
%span.project-name %span.project-name
= truncate(project.name, length: 25) = truncate(project.name, length: 25)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment