debian-mirror-gitlab/app/views/shared/_event_filter.html.haml

20 lines
720 B
Text
Raw Normal View History

2015-04-26 12:48:37 +05:30
%ul.nav.nav-pills.event_filter
2014-09-02 18:07:02 +05:30
= event_filter_link EventFilter.push, 'Push events'
= event_filter_link EventFilter.merged, 'Merge events'
= event_filter_link EventFilter.comments, 'Comments'
= event_filter_link EventFilter.team, 'Team'
2015-04-26 12:48:37 +05:30
- if current_user
- if current_controller?(:dashboard)
%li.pull-right
= link_to dashboard_path(:atom, { private_token: current_user.private_token }), class: 'rss-btn' do
%i.fa.fa-rss
News Feed
- if current_controller?(:groups)
%li.pull-right
= link_to group_path(@group, { format: :atom, private_token: current_user.private_token }), title: "Feed", class: 'rss-btn' do
%i.fa.fa-rss
News Feed
%hr