summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFatih Acet <acetfatih@gmail.com>2017-10-13 23:56:52 +0300
committerFatih Acet <acetfatih@gmail.com>2017-10-13 23:56:52 +0300
commite393a3b55b7707a4526451d8a56e96fd80bbc51b (patch)
treec5023f0bb85771985f1ec9c30b1d03af63a2e6de
parent51a8f36472486a13be322439f3ea7739b93ec2b6 (diff)
downloadgitlab-ce-create-new-branch-repo-editor.tar.gz
-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