summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/views/shared/_ref_switcher.html.haml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/shared/_ref_switcher.html.haml b/app/views/shared/_ref_switcher.html.haml
index a89ac7e399b..700cb19c492 100644
--- a/app/views/shared/_ref_switcher.html.haml
+++ b/app/views/shared/_ref_switcher.html.haml
@@ -13,19 +13,19 @@
= dropdown_filter _("Search branches and tags")
= dropdown_content
= dropdown_loading
- -if cookies[:new_repo] == 'true' && defined?(show_create) && show_create && can?(current_user, :push_code, @project)
+ - if cookies[:new_repo] == 'true' && defined?(show_create) && show_create && can?(current_user, :push_code, @project)
= dropdown_footer do
%ul.dropdown-footer-list
%li
%a.dropdown-toggle-page{ href: "#" }
Create new branch
- -if cookies[:new_repo] == 'true' && can?(current_user, :push_code, @project)
+ - if cookies[:new_repo] == 'true' && can?(current_user, :push_code, @project)
.dropdown-page-two
= dropdown_title("Create new branch", options: { back: true })
- =dropdown_content do
+ = dropdown_content do
.dropdown-labels-error.js-label-error
%input#new_branch_name.js-new-branch-name.default-dropdown-input{ type: "text", placeholder: "Name new branch" }
.clearfix.prepend-top-5
%button.btn.btn-primary.pull-left.js-create-new-branch-btn{ type: "button" }
- =icon('spin spinner', class: "hidden")
+ = icon('spin spinner', class: "hidden")
%span Create