summaryrefslogtreecommitdiff
path: root/app/views/dashboard/milestones/index.html.haml
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-07-03 11:58:06 +0100
committerPhil Hughes <me@iamphill.com>2017-07-03 11:58:06 +0100
commit08a0af9fcf4de2ae1f56c46104eb0ae171db38df (patch)
treeb6228c21d7fd293c4e6c4ad76e48c6deb0cc2912 /app/views/dashboard/milestones/index.html.haml
parente95f81d2271f0b82f63e16cd6c7e3d0734084e03 (diff)
downloadgitlab-ce-08a0af9fcf4de2ae1f56c46104eb0ae171db38df.tar.gz
moved more action buttons
Diffstat (limited to 'app/views/dashboard/milestones/index.html.haml')
-rw-r--r--app/views/dashboard/milestones/index.html.haml6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/dashboard/milestones/index.html.haml b/app/views/dashboard/milestones/index.html.haml
index ef1467c4d78..37dbcaf5cb8 100644
--- a/app/views/dashboard/milestones/index.html.haml
+++ b/app/views/dashboard/milestones/index.html.haml
@@ -2,10 +2,14 @@
- page_title 'Milestones'
- header_title 'Milestones', dashboard_milestones_path
+- if show_new_nav?
+ - content_for :breadcrumbs_extra do
+ = render 'shared/new_project_item_select', path: 'milestones/new', label: 'New milestone', include_groups: true
+
.top-area
= render 'shared/milestones_filter', counts: @milestone_states
- .nav-controls
+ .nav-controls{ class: ("visible-xs" if show_new_nav?) }
= render 'shared/new_project_item_select', path: 'milestones/new', label: 'New milestone', include_groups: true
.milestones