diff options
author | Phil Hughes <me@iamphill.com> | 2018-03-01 15:05:25 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-03-02 08:42:03 +0000 |
commit | 148cc3c21b7e7132111244cd9908a4bcbbb0891b (patch) | |
tree | 666b1c3fc8f6e79527491da5da57ec7a68062342 /app/views | |
parent | 4927cb75e6ab82500b3d055f35ea621483c224fe (diff) | |
download | gitlab-ce-148cc3c21b7e7132111244cd9908a4bcbbb0891b.tar.gz |
removed helper methods
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/tree/_tree_header.html.haml | 5 | ||||
-rw-r--r-- | app/views/shared/_ref_switcher.html.haml | 6 |
2 files changed, 0 insertions, 11 deletions
diff --git a/app/views/projects/tree/_tree_header.html.haml b/app/views/projects/tree/_tree_header.html.haml index 39511435508..06bce52e709 100644 --- a/app/views/projects/tree/_tree_header.html.haml +++ b/app/views/projects/tree/_tree_header.html.haml @@ -72,11 +72,6 @@ #{ _('New tag') } .tree-controls - - if show_new_ide? - = succeed " " do - = link_to ide_edit_path(@project, @id), class: 'btn btn-default' do - = _('Web IDE') - = link_to s_('Commits|History'), project_commits_path(@project, @id), class: 'btn' = render 'projects/find_file_link' diff --git a/app/views/shared/_ref_switcher.html.haml b/app/views/shared/_ref_switcher.html.haml index 479bd2cdb38..2acb92160a7 100644 --- a/app/views/shared/_ref_switcher.html.haml +++ b/app/views/shared/_ref_switcher.html.haml @@ -1,6 +1,5 @@ - show_create = local_assigns.fetch(:show_create, false) -- show_new_branch_form = show_new_ide? && show_create && can?(current_user, :push_code, @project) - dropdown_toggle_text = @ref || @project.default_branch = form_tag switch_project_refs_path(@project), method: :get, class: "project-refs-form" do = hidden_field_tag :destination, destination @@ -22,8 +21,3 @@ %li %a.dropdown-toggle-page{ href: "#" } Create new branch - - if show_new_branch_form - .dropdown-page-two - = dropdown_title("Create new branch", options: { back: true }) - = dropdown_content do - .js-new-branch-dropdown |