summaryrefslogtreecommitdiff
path: root/app/views/projects/milestones
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-08-01 22:35:40 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-08-01 22:35:40 +0300
commite834742407a74c26a443cce888c8ab0c210bf1cd (patch)
tree96a3d71634736e37448e6448d68f9d107023f13a /app/views/projects/milestones
parentb8f6d67b96991e8089fb3b139d4e17994af60b17 (diff)
downloadgitlab-ce-e834742407a74c26a443cce888c8ab0c210bf1cd.tar.gz
Dont load bootstrap buttons. Modified css with new buttons
Diffstat (limited to 'app/views/projects/milestones')
-rw-r--r--app/views/projects/milestones/_form.html.haml2
-rw-r--r--app/views/projects/milestones/index.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/milestones/_form.html.haml b/app/views/projects/milestones/_form.html.haml
index 0dc9dab872f..825243e773f 100644
--- a/app/views/projects/milestones/_form.html.haml
+++ b/app/views/projects/milestones/_form.html.haml
@@ -32,7 +32,7 @@
.form-actions
- if @milestone.new_record?
- = f.submit 'Create milestone', class: "btn-save btn"
+ = f.submit 'Create milestone', class: "btn-create btn"
= link_to "Cancel", project_milestones_path(@project), class: "btn btn-cancel"
-else
= f.submit 'Save changes', class: "btn-save btn"
diff --git a/app/views/projects/milestones/index.html.haml b/app/views/projects/milestones/index.html.haml
index 727fa6149d1..0c0828c9064 100644
--- a/app/views/projects/milestones/index.html.haml
+++ b/app/views/projects/milestones/index.html.haml
@@ -3,7 +3,7 @@
%h3.page-title
Milestones
- if can? current_user, :admin_milestone, @project
- = link_to new_project_milestone_path(@project), class: "pull-right btn btn-primary", title: "New Milestone" do
+ = link_to new_project_milestone_path(@project), class: "pull-right btn btn-new", title: "New Milestone" do
%i.icon-plus
New Milestone