Add links to starrers in lists of projects
This commit is contained in:
parent
59976090b5
commit
1171517a68
1 changed files with 3 additions and 1 deletions
|
@ -63,7 +63,9 @@
|
||||||
- if project.archived
|
- if project.archived
|
||||||
%span.d-flex.icon-wrapper.badge.badge-warning archived
|
%span.d-flex.icon-wrapper.badge.badge-warning archived
|
||||||
- if stars
|
- 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')
|
= sprite_icon('star', size: 14, css_class: 'append-right-4')
|
||||||
= number_with_delimiter(project.star_count)
|
= number_with_delimiter(project.star_count)
|
||||||
- if forks
|
- if forks
|
||||||
|
|
Loading…
Reference in a new issue