Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-04-21 17:47:00 +0300
committerDouwe Maan <douwe@gitlab.com>2015-04-23 18:11:38 +0300
commit72b090b890fc438923b9bcb35d0461564f71cebc (patch)
tree1215fa112cad7e29f58308759f47e5bd5999ae85 /app/views/dashboard
parentcba86eed744a9d903222bd61a9190fa1fa19a17e (diff)
Move activity feed buttons out of event_filter into actual show views.
Diffstat (limited to 'app/views/dashboard')
-rw-r--r--app/views/dashboard/_activities.html.haml9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/dashboard/_activities.html.haml b/app/views/dashboard/_activities.html.haml
index c1fc1602d0a..ffc893b16d3 100644
--- a/app/views/dashboard/_activities.html.haml
+++ b/app/views/dashboard/_activities.html.haml
@@ -1,4 +1,13 @@
= render "events/event_last_push", event: @last_push
+
+- if current_user
+ %ul.nav.nav-pills.event_filter.pull-right
+ %li.pull-right
+ = link_to dashboard_path(:atom, { private_token: current_user.private_token }), class: 'rss-btn' do
+ %i.fa.fa-rss
+ News Feed
+
= render 'shared/event_filter'
+%hr
.content_list
= spinner