Commit fcf55171c4d5a25bc08da37e704f95ca8ca4e06b
Exists in
spb-stable
and in
3 other branches
Merge branch 'skv-headless-privacy_label'
Showing
3 changed files
with
15 additions
and
1 deletions
Show diff stats
app/assets/stylesheets/sections/dashboard.scss
... | ... | @@ -66,7 +66,7 @@ |
66 | 66 | } |
67 | 67 | |
68 | 68 | .project-row, .group-row { |
69 | - padding: 10px 15px !important; | |
69 | + padding: 10px 12px !important; | |
70 | 70 | |
71 | 71 | .namespace-name { |
72 | 72 | color: #666; |
... | ... | @@ -122,3 +122,13 @@ |
122 | 122 | color: #BBB; |
123 | 123 | } |
124 | 124 | } |
125 | + | |
126 | +.dash-project-access-icon { | |
127 | + float: left; | |
128 | + margin-right: 10px; | |
129 | + font-size: 18px; | |
130 | + color: #BBB; | |
131 | + margin-bottom: 10px; | |
132 | + margin-top: 2px; | |
133 | + width: 16px; | |
134 | +} | ... | ... |
app/views/dashboard/_project.html.haml
app/views/groups/_projects.html.haml
... | ... | @@ -12,6 +12,8 @@ |
12 | 12 | - projects.each do |project| |
13 | 13 | %li.project-row |
14 | 14 | = link_to project_path(project), class: dom_class(project) do |
15 | + .dash-project-access-icon | |
16 | + = visibility_level_icon(project.visibility_level) | |
15 | 17 | %span.project-name |
16 | 18 | = truncate(project.name, length: 25) |
17 | 19 | %span.arrow | ... | ... |