debian-mirror-gitlab/app/views/dashboard/_activity_head.html.haml

15 lines
665 B
Text
Raw Normal View History

2019-07-31 22:56:46 +05:30
.page-title-holder.d-flex.align-items-center
2018-12-13 13:39:08 +05:30
%h1.page-title= _('Activity')
2017-08-17 22:00:37 +05:30
.top-area
2018-11-08 19:23:39 +05:30
%ul.nav-links.nav.nav-tabs
2017-08-17 22:00:37 +05:30
%li{ class: active_when(params[:filter].nil?) }>
= link_to activity_dashboard_path, class: 'shortcuts-activity', data: {placement: 'right'} do
2021-03-11 19:13:27 +05:30
= _('Your projects')
2017-08-17 22:00:37 +05:30
%li{ class: active_when(params[:filter] == 'starred') }>
= link_to activity_dashboard_path(filter: 'starred'), data: {placement: 'right'} do
2021-03-11 19:13:27 +05:30
= _('Starred projects')
%li{ class: active_when(params[:filter] == 'followed') }>
= link_to activity_dashboard_path(filter: 'followed'), data: {placement: 'right'} do
= _('Followed users')