summaryrefslogtreecommitdiff
path: root/app/views/groups/issues.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-02-05 11:35:55 +0100
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-02-05 11:35:55 +0100
commit92586360217c950ad255fd6ea006c41fd38e3d7f (patch)
tree1a045bc2e7874772bbfe887cf1b584c90d01fb9c /app/views/groups/issues.html.haml
parentce39d62c3be5a22cf81904198df2aa201dc0a8cd (diff)
downloadgitlab-ce-92586360217c950ad255fd6ea006c41fd38e3d7f.tar.gz
Re-use top-are css component for issues/mr pages
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/groups/issues.html.haml')
-rw-r--r--app/views/groups/issues.html.haml16
1 files changed, 7 insertions, 9 deletions
diff --git a/app/views/groups/issues.html.haml b/app/views/groups/issues.html.haml
index 90ade1e1680..b0805593fdc 100644
--- a/app/views/groups/issues.html.haml
+++ b/app/views/groups/issues.html.haml
@@ -4,17 +4,15 @@
- if current_user
= auto_discovery_link_tag(:atom, issues_group_url(@group, format: :atom, private_token: current_user.private_token), title: "#{@group.name} issues")
-.project-issuable-filter
- .controls
- .pull-left
- - 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
-
+.top-area
+ = render 'shared/issuable/nav', type: :issues
+ .nav-controls
+ - if current_user
+ = link_to issues_group_url(@group, format: :atom, private_token: current_user.private_token), class: 'btn' do
+ = icon('rss')
= render 'shared/new_project_item_select', path: 'issues/new', label: "New Issue"
- = render 'shared/issuable/filter', type: :issues
+= render 'shared/issuable/filter', type: :issues
.gray-content-block.second-block
Only issues from