2019-12-21 20:55:43 +05:30
|
|
|
- show_group_events = local_assigns.fetch(:show_group_events, false)
|
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
.scrolling-tabs-container.inner-page-scroll-tabs.is-smaller.flex-fill
|
2018-03-17 18:26:18 +05:30
|
|
|
.fade-left= icon('angle-left')
|
|
|
|
.fade-right= icon('angle-right')
|
2018-11-08 19:23:39 +05:30
|
|
|
%ul.nav-links.event-filter.scrolling-tabs.nav.nav-tabs
|
2018-12-05 23:21:45 +05:30
|
|
|
= event_filter_link EventFilter::ALL, _('All'), s_('EventFilterBy|Filter by all')
|
2018-03-17 18:26:18 +05:30
|
|
|
- if event_filter_visible(:repository)
|
2018-12-05 23:21:45 +05:30
|
|
|
= event_filter_link EventFilter::PUSH, _('Push events'), s_('EventFilterBy|Filter by push events')
|
2018-03-17 18:26:18 +05:30
|
|
|
- if event_filter_visible(:merge_requests)
|
2018-12-05 23:21:45 +05:30
|
|
|
= event_filter_link EventFilter::MERGED, _('Merge events'), s_('EventFilterBy|Filter by merge events')
|
2018-03-17 18:26:18 +05:30
|
|
|
- if event_filter_visible(:issues)
|
2018-12-05 23:21:45 +05:30
|
|
|
= event_filter_link EventFilter::ISSUE, _('Issue events'), s_('EventFilterBy|Filter by issue events')
|
2019-12-21 20:55:43 +05:30
|
|
|
- if show_group_events
|
|
|
|
= render_if_exists 'events/epics_filter'
|
2018-03-17 18:26:18 +05:30
|
|
|
- if comments_visible?
|
2018-12-05 23:21:45 +05:30
|
|
|
= event_filter_link EventFilter::COMMENTS, _('Comments'), s_('EventFilterBy|Filter by comments')
|
|
|
|
= event_filter_link EventFilter::TEAM, _('Team'), s_('EventFilterBy|Filter by team')
|