diff options
author | Camil Staps <info@camilstaps.nl> | 2019-01-26 11:44:49 +0100 |
---|---|---|
committer | Camil Staps <info@camilstaps.nl> | 2019-08-07 20:49:13 +0200 |
commit | 1171517a68fb465494e8a96cc5b4e6f9deb27404 (patch) | |
tree | 39a6afa6f07b26c0b2b9088d12a29dfc10bc2ceb /app/views/shared/projects | |
parent | 59976090b52d401dc4d23b726b2168186524f269 (diff) | |
download | gitlab-ce-1171517a68fb465494e8a96cc5b4e6f9deb27404.tar.gz |
Add links to starrers in lists of projects
Diffstat (limited to 'app/views/shared/projects')
-rw-r--r-- | app/views/shared/projects/_project.html.haml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/shared/projects/_project.html.haml b/app/views/shared/projects/_project.html.haml index f40a9cffb29..b7474d891dc 100644 --- a/app/views/shared/projects/_project.html.haml +++ b/app/views/shared/projects/_project.html.haml @@ -63,7 +63,9 @@ - if project.archived %span.d-flex.icon-wrapper.badge.badge-warning archived - if stars - %span.d-flex.align-items-center.icon-wrapper.stars.has-tooltip{ data: { container: 'body', placement: 'top' }, title: _('Stars') } + = link_to project_starrers_path(project), + class: "d-flex align-items-center icon-wrapper stars has-tooltip", + title: _('Stars'), data: { container: 'body', placement: 'top' } do = sprite_icon('star', size: 14, css_class: 'append-right-4') = number_with_delimiter(project.star_count) - if forks |