summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-04-21 16:46:46 +0200
committerDouwe Maan <douwe@gitlab.com>2015-04-23 17:11:38 +0200
commitcba86eed744a9d903222bd61a9190fa1fa19a17e (patch)
tree7d085b6baccbbeb431ddb3a4071865ce5b8838c8 /app
parent8917ae39e3f2a75833908413bac209373cb013eb (diff)
downloadgitlab-ce-cba86eed744a9d903222bd61a9190fa1fa19a17e.tar.gz
Add feed button to dashboard and group issue pages.
Diffstat (limited to 'app')
-rw-r--r--app/views/dashboard/issues.html.haml6
-rw-r--r--app/views/groups/issues.html.haml6
2 files changed, 12 insertions, 0 deletions
diff --git a/app/views/dashboard/issues.html.haml b/app/views/dashboard/issues.html.haml
index 79e518f5f38..62cc80a30dc 100644
--- a/app/views/dashboard/issues.html.haml
+++ b/app/views/dashboard/issues.html.haml
@@ -10,5 +10,11 @@
%hr
.append-bottom-20
+ .pull-right
+ - if current_user
+ .hidden-xs.pull-left
+ = link_to issues_dashboard_url(format: :atom, private_token: current_user.private_token), class: 'btn' do
+ %i.fa.fa-rss
+
= render 'shared/issuable_filter'
= render 'shared/issues'
diff --git a/app/views/groups/issues.html.haml b/app/views/groups/issues.html.haml
index bfdb862a2e9..cf0da2da466 100644
--- a/app/views/groups/issues.html.haml
+++ b/app/views/groups/issues.html.haml
@@ -14,5 +14,11 @@
%hr
.append-bottom-20
+ .pull-right
+ - if current_user
+ .hidden-xs.pull-left
+ = link_to issues_group_url(@group, format: :atom, private_token: current_user.private_token), class: 'btn' do
+ %i.fa.fa-rss
+
= render 'shared/issuable_filter'
= render 'shared/issues'