diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-04-21 17:47:00 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-04-23 18:11:38 +0300 |
commit | 72b090b890fc438923b9bcb35d0461564f71cebc (patch) | |
tree | 1215fa112cad7e29f58308759f47e5bd5999ae85 /app/views/shared/_event_filter.html.haml | |
parent | cba86eed744a9d903222bd61a9190fa1fa19a17e (diff) |
Move activity feed buttons out of event_filter into actual show views.
Diffstat (limited to 'app/views/shared/_event_filter.html.haml')
-rw-r--r-- | app/views/shared/_event_filter.html.haml | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/app/views/shared/_event_filter.html.haml b/app/views/shared/_event_filter.html.haml index d07a9e2b924..334db60690d 100644 --- a/app/views/shared/_event_filter.html.haml +++ b/app/views/shared/_event_filter.html.haml @@ -3,17 +3,3 @@ = event_filter_link EventFilter.merged, 'Merge events' = event_filter_link EventFilter.comments, 'Comments' = event_filter_link EventFilter.team, 'Team' - - - 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 |