diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2018-10-06 16:21:38 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2018-10-19 22:33:48 +0800 |
commit | 0def36777e3f9e5f57fd0e1ebd023b43229622fc (patch) | |
tree | 07cf771689c60545564f3b13a5f1b7874e094260 /app/views/dashboard/milestones | |
parent | 284100a8e3308eab37a1a8890afc3b96020f97ec (diff) | |
download | gitlab-ce-0def36777e3f9e5f57fd0e1ebd023b43229622fc.tar.gz |
Change single-item breadcrumbs to page titles
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/dashboard/milestones')
-rw-r--r-- | app/views/dashboard/milestones/index.html.haml | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/app/views/dashboard/milestones/index.html.haml b/app/views/dashboard/milestones/index.html.haml index f66e2b40d76..ae0e38bf0ee 100644 --- a/app/views/dashboard/milestones/index.html.haml +++ b/app/views/dashboard/milestones/index.html.haml @@ -2,12 +2,18 @@ - page_title 'Milestones' - header_title 'Milestones', dashboard_milestones_path +.page-title-holder + %h1.page-title= _('Milestones') + + - if current_user + .page-title-controls + = render 'shared/new_project_item_select', + path: 'milestones/new', label: 'New milestone', + include_groups: true, type: :milestones + .top-area = render 'shared/milestones_filter', counts: @milestone_states - .nav-controls - = render 'shared/new_project_item_select', path: 'milestones/new', label: 'New milestone', include_groups: true, type: :milestones - .milestones %ul.content-list - if @milestones.blank? |