diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-17 22:40:00 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-17 22:40:00 -0800 |
commit | 70edf950fe6baf90bb98c904d9132924e55e50d6 (patch) | |
tree | c09eee0b3ddfef7372ffc36f8c453ba935945ceb /app/views/explore | |
parent | d905a431e89423a901ff5cd242c5f2bf90a4f511 (diff) | |
download | gitlab-ce-70edf950fe6baf90bb98c904d9132924e55e50d6.tar.gz |
Show contributed projects on user page and stars for it
Diffstat (limited to 'app/views/explore')
-rw-r--r-- | app/views/explore/projects/_project.html.haml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/app/views/explore/projects/_project.html.haml b/app/views/explore/projects/_project.html.haml index ffbddbae4d6..b093ec00c57 100644 --- a/app/views/explore/projects/_project.html.haml +++ b/app/views/explore/projects/_project.html.haml @@ -3,11 +3,9 @@ .project-access-icon = visibility_level_icon(project.visibility_level) = link_to project.name_with_namespace, project - - - if current_page?(starred_explore_projects_path) - %strong.pull-right - %i.fa.fa-star - = pluralize project.star_count, 'star' + %span.pull-right + %i.fa.fa-star + = project.star_count .project-info - if project.description.present? |