diff options
author | Jacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home> | 2015-12-23 20:43:27 +0300 |
---|---|---|
committer | Jacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home> | 2015-12-23 20:43:27 +0300 |
commit | 8bbcbe78546beda04420e4403f7e6d42b38a55e4 (patch) | |
tree | d7702724ff71ed181a51346c5643272149816c8e /app/views/shared/_clone_panel.html.haml | |
parent | 99682fcdde0ad2860e51b6c2ec0109633338b17a (diff) |
spacing changed from 4 to 2 in ` _clone_panel.html.haml`.
Diffstat (limited to 'app/views/shared/_clone_panel.html.haml')
-rw-r--r-- | app/views/shared/_clone_panel.html.haml | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/app/views/shared/_clone_panel.html.haml b/app/views/shared/_clone_panel.html.haml index 74e82af48c8..9edd1f0750e 100644 --- a/app/views/shared/_clone_panel.html.haml +++ b/app/views/shared/_clone_panel.html.haml @@ -1,27 +1,27 @@ - project = project || @project .git-clone-holder - .btn-group.clone-options - %a.clone-dropdown-btn.btn{href: '#', 'data-toggle' => 'dropdown'} - %span - = default_clone_protocol.upcase - = icon('angle-down') - %ul.dropdown-menu.dropdown-menu-right.clone-options-dropdown - %li - %a{href: '#', "data-url" => @project.ssh_url_to_repo} - SSH - %li - %a{href: '#', "data-url" => @project.http_url_to_repo} - HTTPS + .btn-group.clone-options + %a.clone-dropdown-btn.btn{href: '#', 'data-toggle' => 'dropdown'} + %span + = default_clone_protocol.upcase + = icon('angle-down') + %ul.dropdown-menu.dropdown-menu-right.clone-options-dropdown + %li + %a{href: '#', "data-url" => @project.ssh_url_to_repo} + SSH + %li + %a{href: '#', "data-url" => @project.http_url_to_repo} + HTTPS - = text_field_tag :project_clone, default_url_to_repo(project), class: "js-select-on-focus form-control", readonly: true - .input-group-btn - = clipboard_button(clipboard_target: '#project_clone') + = text_field_tag :project_clone, default_url_to_repo(project), class: "js-select-on-focus form-control", readonly: true + .input-group-btn + = clipboard_button(clipboard_target: '#project_clone') :javascript - $('ul.clone-options-dropdown a').on('click',function(e){ - e.preventDefault(); - var $this = $(this); - $('a.clone-dropdown-btn span').text($this.text()); - $('#project_clone').val($this.data('url')); - }); + $('ul.clone-options-dropdown a').on('click',function(e){ + e.preventDefault(); + var $this = $(this); + $('a.clone-dropdown-btn span').text($this.text()); + $('#project_clone').val($this.data('url')); + }); |