Commit 69d149e0 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix ugly project access icons

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 487f78be
...@@ -100,14 +100,9 @@ ...@@ -100,14 +100,9 @@
margin-right: 15px; margin-right: 15px;
font-size: 20px; font-size: 20px;
margin-bottom: 15px; margin-bottom: 15px;
border: 1px solid #EEE;
padding: 8px 12px;
border-radius: 50px;
background: #f5f5f5;
text-align: center;
i { i {
color: #BBB; color: #888;
} }
} }
......
%li %li
.project-access-icon %h4.project-title
= visibility_level_icon(project.visibility_level) .project-access-icon
= visibility_level_icon(project.visibility_level)
= link_to project.name_with_namespace, project
.project-description - if current_page?(starred_explore_projects_path)
%h4.project-title %strong.pull-right
= link_to project.name_with_namespace, project = pluralize project.star_count, 'star'
- if current_page?(starred_explore_projects_path)
%strong.pull-right
= pluralize project.star_count, 'star'
.project-info
- if project.description.present? - if project.description.present?
%p.project-description.str-truncated %p.project-description.str-truncated
= project.description = project.description
......
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