summaryrefslogtreecommitdiff
path: root/app/views/projects/milestones/index.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-09-18 12:58:22 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-09-19 13:55:48 +0300
commit7f8a520f8ac269d4d75c6f5f8d2e858e69300c31 (patch)
tree78701b60d80eb1f187fcbf34337452a8663721f3 /app/views/projects/milestones/index.html.haml
parente23d08c72a0abae9c5aef91b76e3e21f2c5d0fea (diff)
downloadgitlab-ce-7f8a520f8ac269d4d75c6f5f8d2e858e69300c31.tar.gz
Unite green buttons under one css class
Rename btn-new, btn-create and btn-save to btn-success Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/projects/milestones/index.html.haml')
-rw-r--r--app/views/projects/milestones/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/milestones/index.html.haml b/app/views/projects/milestones/index.html.haml
index 26d2ea8447b..57f3c640696 100644
--- a/app/views/projects/milestones/index.html.haml
+++ b/app/views/projects/milestones/index.html.haml
@@ -8,7 +8,7 @@
.nav-controls
= render 'shared/milestones_sort_dropdown'
- if can?(current_user, :admin_milestone, @project)
- = link_to new_project_milestone_path(@project), class: "btn btn-new qa-new-project-milestone", title: 'New milestone' do
+ = link_to new_project_milestone_path(@project), class: "btn btn-success qa-new-project-milestone", title: 'New milestone' do
New milestone
.milestones