summaryrefslogtreecommitdiff
path: root/app/views/projects/protected_branches/_branches_list.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-14 00:29:32 -0700
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-14 00:29:32 -0700
commit30ca451fd4f926998868b9db524e8fa98cd9457d (patch)
treede4525598596133f87dc922d1961defbcdd60fe1 /app/views/projects/protected_branches/_branches_list.html.haml
parentdffa2fa9e92e37a664afa2807fd5b01fbbd87ef2 (diff)
downloadgitlab-ce-30ca451fd4f926998868b9db524e8fa98cd9457d.tar.gz
Refactor buttons
Diffstat (limited to 'app/views/projects/protected_branches/_branches_list.html.haml')
-rw-r--r--app/views/projects/protected_branches/_branches_list.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/protected_branches/_branches_list.html.haml b/app/views/projects/protected_branches/_branches_list.html.haml
index 5406b80dc16..bb49f4de873 100644
--- a/app/views/projects/protected_branches/_branches_list.html.haml
+++ b/app/views/projects/protected_branches/_branches_list.html.haml
@@ -31,4 +31,4 @@
%td
.pull-right
- if can? current_user, :admin_project, @project
- = link_to 'Unprotect', [@project.namespace.becomes(Namespace), @project, branch], data: { confirm: 'Branch will be writable for developers. Are you sure?' }, method: :delete, class: "btn btn-remove btn-small"
+ = link_to 'Unprotect', [@project.namespace.becomes(Namespace), @project, branch], data: { confirm: 'Branch will be writable for developers. Are you sure?' }, method: :delete, class: "btn btn-remove btn-sm"