diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-12-02 14:02:12 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-12-02 14:02:12 +0100 |
commit | 5a59712b8ac29450dfef0af0dd381529f0d9d7ae (patch) | |
tree | ae61ff7f3b2901b909b6d4088047f191dd534b65 /app/views/projects/milestones | |
parent | 09e712c0fb721059e4b2619eb9fc104257fc492d (diff) | |
download | gitlab-ce-5a59712b8ac29450dfef0af0dd381529f0d9d7ae.tar.gz |
Add "New X" buttons to dashboard and group issue, MR and milestone indexes
Diffstat (limited to 'app/views/projects/milestones')
-rw-r--r-- | app/views/projects/milestones/index.html.haml | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/app/views/projects/milestones/index.html.haml b/app/views/projects/milestones/index.html.haml index a207385bd43..114b06457a5 100644 --- a/app/views/projects/milestones/index.html.haml +++ b/app/views/projects/milestones/index.html.haml @@ -1,15 +1,18 @@ - page_title "Milestones" = render "header_title" -= render 'shared/milestones_filter' -.gray-content-block - .pull-right - - if can? current_user, :admin_milestone, @project + +.project-issuable-filter + .controls + - if can?(current_user, :admin_milestone, @project) = link_to new_namespace_project_milestone_path(@project.namespace, @project), class: "pull-right btn btn-new", title: "New Milestone" do %i.fa.fa-plus New Milestone - .oneline - Milestone allows you to group issues and set due date for it + + = render 'shared/milestones_filter' + +.gray-content-block + Milestone allows you to group issues and set due date for it .milestones %ul.content-list |