summaryrefslogtreecommitdiff
path: root/app/views/projects/protected_branches/_branches_list.html.haml
diff options
context:
space:
mode:
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 b9e9dd8aaea..565905cbe7b 100644
--- a/app/views/projects/protected_branches/_branches_list.html.haml
+++ b/app/views/projects/protected_branches/_branches_list.html.haml
@@ -1,7 +1,7 @@
%h5.prepend-top-0
Already Protected (#{@branches.size})
- if @branches.empty?
- %p.profile-settings-message.text-center
+ %p.settings-message.text-center
No branches are protected, protect a branch with the form above.
- else
- can_admin_project = can?(current_user, :admin_project, @project)