Commit ab7b693c authored by Nick Thomas's avatar Nick Thomas

Fix conflicts in view files

parent 034140b3
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
= reply_email = reply_email
%span.light.pull-right %span.light.pull-right
= boolean_to_icon Gitlab::IncomingEmail.enabled? = boolean_to_icon Gitlab::IncomingEmail.enabled?
<<<<<<< HEAD
- elastic = "Elasticsearch" - elastic = "Elasticsearch"
%p{ "aria-label" => "#{elastic}: status " + (current_application_settings.elasticsearch_search? ? "on" : "off") } %p{ "aria-label" => "#{elastic}: status " + (current_application_settings.elasticsearch_search? ? "on" : "off") }
= elastic = elastic
...@@ -83,8 +83,7 @@ ...@@ -83,8 +83,7 @@
= geo = geo
%span.light.pull-right %span.light.pull-right
= boolean_to_icon Gitlab::Geo.enabled? = boolean_to_icon Gitlab::Geo.enabled?
=======
>>>>>>> ce/master
- container_reg = "Container Registry" - container_reg = "Container Registry"
%p{ "aria-label" => "#{container_reg}: status " + (Gitlab.config.registry.enabled ? "on" : "off") } %p{ "aria-label" => "#{container_reg}: status " + (Gitlab.config.registry.enabled ? "on" : "off") }
= container_reg = container_reg
...@@ -126,7 +125,7 @@ ...@@ -126,7 +125,7 @@
GitLab API GitLab API
%span.pull-right %span.pull-right
= API::API::version = API::API::version
<<<<<<< HEAD
- if Gitlab::Geo.enabled? - if Gitlab::Geo.enabled?
%p %p
Geo Geo
...@@ -135,8 +134,7 @@ ...@@ -135,8 +134,7 @@
= Gitlab::Geo.current_node.primary ? 'Primary node' : 'Secondary node' = Gitlab::Geo.current_node.primary ? 'Primary node' : 'Secondary node'
- else - else
Undefined Undefined
=======
>>>>>>> ce/master
%p %p
Git Git
%span.pull-right %span.pull-right
......
...@@ -11,11 +11,7 @@ ...@@ -11,11 +11,7 @@
Project Project
- if project_nav_tab? :files - if project_nav_tab? :files
<<<<<<< HEAD
= nav_link(controller: %w(tree blob blame edit_tree new_tree find_file commit commits compare projects/repositories tags branches releases graphs network path_locks)) do = nav_link(controller: %w(tree blob blame edit_tree new_tree find_file commit commits compare projects/repositories tags branches releases graphs network path_locks)) do
=======
= nav_link(controller: %w(tree blob blame edit_tree new_tree find_file commit commits compare projects/repositories tags branches releases graphs network)) do
>>>>>>> ce/master
= link_to project_tree_path(@project), title: 'Repository', class: 'shortcuts-tree' do = link_to project_tree_path(@project), title: 'Repository', class: 'shortcuts-tree' do
%span %span
Repository Repository
......
...@@ -12,10 +12,7 @@ ...@@ -12,10 +12,7 @@
- if current_user - if current_user
:javascript :javascript
window.uploads_path = "#{project_uploads_path(project)}"; window.uploads_path = "#{project_uploads_path(project)}";
<<<<<<< HEAD
window.preview_markdown_path = "#{preview_markdown_path(project)}"; window.preview_markdown_path = "#{preview_markdown_path(project)}";
=======
>>>>>>> ce/master
- content_for :header_content do - content_for :header_content do
.js-dropdown-menu-projects .js-dropdown-menu-projects
......
<<<<<<< HEAD
- path_to_file = file_project_job_artifacts_path(@project, @build, path: file.path) if @build.downloadable_single_artifacts_file? - path_to_file = file_project_job_artifacts_path(@project, @build, path: file.path) if @build.downloadable_single_artifacts_file?
=======
- path_to_file = file_project_job_artifacts_path(@project, @build, path: file.path)
>>>>>>> ce/master
%tr.tree-item{ 'data-link' => path_to_file } %tr.tree-item{ 'data-link' => path_to_file }
- blob = file.blob - blob = file.blob
......
...@@ -19,18 +19,10 @@ ...@@ -19,18 +19,10 @@
":data-name" => "assignee.name", ":data-name" => "assignee.name",
":data-username" => "assignee.username" } ":data-username" => "assignee.username" }
.dropdown .dropdown
<<<<<<< HEAD
%button.dropdown-menu-toggle.js-user-search.js-author-search.js-multiselect.js-save-user-data.js-issue-board-sidebar{ type: "button", ref: "assigneeDropdown", data: { toggle: "dropdown", field_name: "issue[assignee_ids][]", first_user: (current_user.username if current_user), current_user: "true", project_id: @project.id, null_user: "true", multi_select: "true", dropdown: { header: 'Assignee(s)'} }, %button.dropdown-menu-toggle.js-user-search.js-author-search.js-multiselect.js-save-user-data.js-issue-board-sidebar{ type: "button", ref: "assigneeDropdown", data: { toggle: "dropdown", field_name: "issue[assignee_ids][]", first_user: (current_user.username if current_user), current_user: "true", project_id: @project.id, null_user: "true", multi_select: "true", dropdown: { header: 'Assignee(s)'} },
":data-issuable-id" => "issue.id", ":data-issuable-id" => "issue.id",
":data-issue-update" => "'#{project_issues_path(@project)}/' + issue.id + '.json'" } ":data-issue-update" => "'#{project_issues_path(@project)}/' + issue.id + '.json'" }
Select assignee(s) Select assignee(s)
=======
- dropdown_options = issue_assignees_dropdown_options
%button.dropdown-menu-toggle.js-user-search.js-author-search.js-multiselect.js-save-user-data.js-issue-board-sidebar{ type: 'button', ref: 'assigneeDropdown', data: { toggle: 'dropdown', field_name: 'issue[assignee_ids][]', first_user: current_user&.username, current_user: 'true', project_id: @project.id, null_user: 'true', multi_select: 'true', 'dropdown-header': dropdown_options[:data][:'dropdown-header'], 'max-select': dropdown_options[:data][:'max-select'] },
":data-issuable-id" => "issue.id",
":data-issue-update" => "'#{project_issues_path(@project)}/' + issue.id + '.json'" }
= dropdown_options[:title]
>>>>>>> ce/master
= icon("chevron-down") = icon("chevron-down")
.dropdown-menu.dropdown-select.dropdown-menu-user.dropdown-menu-selectable.dropdown-menu-author .dropdown-menu.dropdown-select.dropdown-menu-user.dropdown-menu-selectable.dropdown-menu-author
= dropdown_title("Assign to") = dropdown_title("Assign to")
......
<<<<<<< HEAD
- if environment.deployment_service_ready? && can?(current_user, :admin_environment, @project) - if environment.deployment_service_ready? && can?(current_user, :admin_environment, @project)
=======
- if environment.has_terminals? && can?(current_user, :admin_environment, @project)
>>>>>>> ce/master
= link_to terminal_project_environment_path(@project, environment), class: 'btn terminal-button' do = link_to terminal_project_environment_path(@project, environment), class: 'btn terminal-button' do
= icon('terminal') = icon('terminal')
...@@ -10,12 +10,8 @@ ...@@ -10,12 +10,8 @@
List List
= nav_link(controller: :boards) do = nav_link(controller: :boards) do
<<<<<<< HEAD
-# EE should use plural "Boards" -# EE should use plural "Boards"
= link_to project_boards_path(@project), title: 'Boards' do = link_to project_boards_path(@project), title: 'Boards' do
=======
= link_to project_boards_path(@project), title: 'Board' do
>>>>>>> ce/master
%span %span
Boards Boards
......
...@@ -68,7 +68,6 @@ ...@@ -68,7 +68,6 @@
= edited_time_ago_with_tooltip(@issue, placement: 'bottom', html_class: 'issue-edited-ago js-issue-edited-ago') = edited_time_ago_with_tooltip(@issue, placement: 'bottom', html_class: 'issue-edited-ago js-issue-edited-ago')
<<<<<<< HEAD
- if can?(current_user, :read_issue_link, @project) - if can?(current_user, :read_issue_link, @project)
.js-related-issues-root{ data: { endpoint: project_issue_links_path(@project, @issue), .js-related-issues-root{ data: { endpoint: project_issue_links_path(@project, @issue),
can_add_related_issues: "#{can?(current_user, :update_issue, @issue)}", can_add_related_issues: "#{can?(current_user, :update_issue, @issue)}",
...@@ -79,8 +78,6 @@ ...@@ -79,8 +78,6 @@
%h3.panel-title %h3.panel-title
Related issues Related issues
=======
>>>>>>> ce/master
#merge-requests{ data: { url: referenced_merge_requests_project_issue_url(@project, @issue) } } #merge-requests{ data: { url: referenced_merge_requests_project_issue_url(@project, @issue) } }
// This element is filled in using JavaScript. // This element is filled in using JavaScript.
......
...@@ -32,11 +32,7 @@ ...@@ -32,11 +32,7 @@
= link_to download_project_job_artifacts_path(@project, @build), rel: 'nofollow', download: '', class: 'btn btn-sm btn-default' do = link_to download_project_job_artifacts_path(@project, @build), rel: 'nofollow', download: '', class: 'btn btn-sm btn-default' do
Download Download
<<<<<<< HEAD
- if @build.browsable_artifacts? - if @build.browsable_artifacts?
=======
- if @build.artifacts_metadata?
>>>>>>> ce/master
= link_to browse_project_job_artifacts_path(@project, @build), class: 'btn btn-sm btn-default' do = link_to browse_project_job_artifacts_path(@project, @build), class: 'btn btn-sm btn-default' do
Browse Browse
......
...@@ -63,10 +63,7 @@ ...@@ -63,10 +63,7 @@
%span.js-truncated-info-size.truncated-info-size>< %span.js-truncated-info-size.truncated-info-size><
KiB of log - KiB of log -
%a.js-raw-link.raw-link{ href: raw_project_job_path(@project, @build) }>< Complete Raw %a.js-raw-link.raw-link{ href: raw_project_job_path(@project, @build) }>< Complete Raw
<<<<<<< HEAD
=======
>>>>>>> ce/master
.controllers .controllers
- if @build.has_trace? - if @build.has_trace?
= link_to raw_project_job_path(@project, @build), = link_to raw_project_job_path(@project, @build),
......
...@@ -18,9 +18,5 @@ ...@@ -18,9 +18,5 @@
= text_field_tag :expires_at, nil, class: 'form-control js-access-expiration-date', placeholder: 'Expiration date' = text_field_tag :expires_at, nil, class: 'form-control js-access-expiration-date', placeholder: 'Expiration date'
%i.clear-icon.js-clear-input %i.clear-icon.js-clear-input
= f.submit "Add to project", class: "btn btn-create" = f.submit "Add to project", class: "btn btn-create"
<<<<<<< HEAD
- if can?(current_user, :admin_project_member, @project) && !membership_locked? - if can?(current_user, :admin_project_member, @project) && !membership_locked?
= link_to "Import", import_project_project_members_path(@project), class: "btn btn-default", title: "Import members from another project" = link_to "Import", import_project_project_members_path(@project), class: "btn btn-default", title: "Import members from another project"
=======
= link_to "Import", import_project_project_members_path(@project), class: "btn btn-default", title: "Import members from another project"
>>>>>>> ce/master
...@@ -75,12 +75,7 @@ ...@@ -75,12 +75,7 @@
.tree-controls .tree-controls
= render 'projects/find_file_link' = render 'projects/find_file_link'
<<<<<<< HEAD
= lock_file_link(html_options: { class: 'btn btn-grouped path-lock' }) = lock_file_link(html_options: { class: 'btn btn-grouped path-lock' })
= link_to s_('Commits|History'), project_commits_path(@project, @id), class: 'btn btn-grouped' = link_to s_('Commits|History'), project_commits_path(@project, @id), class: 'btn btn-grouped'
=======
= link_to s_('Commits|History'), project_commits_path(@project, @id), class: 'btn'
>>>>>>> ce/master
= render 'projects/buttons/download', project: @project, ref: @ref = render 'projects/buttons/download', project: @project, ref: @ref
...@@ -10,11 +10,6 @@ ...@@ -10,11 +10,6 @@
.blob-result .blob-result
.file-holder .file-holder
.js-file-title.file-title .js-file-title.file-title
<<<<<<< HEAD
=======
- ref = @search_results.repository_ref
- blob_link = project_blob_path(@project, tree_join(ref, file_name))
>>>>>>> ce/master
= link_to blob_link do = link_to blob_link do
= icon('fa-file') = icon('fa-file')
%strong %strong
......
...@@ -4,11 +4,7 @@ ...@@ -4,11 +4,7 @@
.blob-result .blob-result
.file-holder .file-holder
.js-file-title.file-title .js-file-title.file-title
<<<<<<< HEAD
= link_to project_wiki_path(project, wiki_blob.basename) do = link_to project_wiki_path(project, wiki_blob.basename) do
=======
= link_to project_wiki_path(@project, wiki_blob.basename) do
>>>>>>> ce/master
%i.fa.fa-file %i.fa.fa-file
%strong %strong
- if @project - if @project
......
...@@ -27,11 +27,7 @@ ...@@ -27,11 +27,7 @@
.scroll-container .scroll-container
%ul.tokens-container.list-unstyled %ul.tokens-container.list-unstyled
%li.input-token %li.input-token
<<<<<<< HEAD
%input.form-control.filtered-search{ id: "filtered-search-#{type.to_s}", placeholder: 'Search or filter results...', data: { 'project-id' => @project.id, 'username-params' => @users.to_json(only: [:id, :username]), 'base-endpoint' => project_path(@project) } }
=======
%input.form-control.filtered-search{ search_filter_input_options(type) } %input.form-control.filtered-search{ search_filter_input_options(type) }
>>>>>>> ce/master
= icon('filter') = icon('filter')
#js-dropdown-hint.filtered-search-input-dropdown-menu.dropdown-menu.hint-dropdown #js-dropdown-hint.filtered-search-input-dropdown-menu.dropdown-menu.hint-dropdown
%ul{ data: { dropdown: true } } %ul{ data: { dropdown: true } }
......
...@@ -49,12 +49,8 @@ ...@@ -49,12 +49,8 @@
- data = { field_name: "#{issuable.to_ability_name}[assignee_ids][]" } - data = { field_name: "#{issuable.to_ability_name}[assignee_ids][]" }
- data[:multi_select] = true - data[:multi_select] = true
- data['dropdown-title'] = title - data['dropdown-title'] = title
<<<<<<< HEAD
- data['dropdown-header'] = 'Assignee'
=======
- data['dropdown-header'] = dropdown_options[:data][:'dropdown-header'] - data['dropdown-header'] = dropdown_options[:data][:'dropdown-header']
- data['max-select'] = dropdown_options[:data][:'max-select'] - data['max-select'] = dropdown_options[:data][:'max-select']
>>>>>>> ce/master
- options[:data].merge!(data) - options[:data].merge!(data)
= dropdown_tag(title, options: options) = dropdown_tag(title, options: options)
...@@ -7,9 +7,5 @@ ...@@ -7,9 +7,5 @@
- if issuable.assignees.length === 0 - if issuable.assignees.length === 0
= hidden_field_tag "#{issuable.to_ability_name}[assignee_ids][]", 0, id: nil, data: { meta: '' } = hidden_field_tag "#{issuable.to_ability_name}[assignee_ids][]", 0, id: nil, data: { meta: '' }
<<<<<<< HEAD
= dropdown_tag(users_dropdown_label(issuable.assignees), options: issue_dropdown_options(issuable,true))
=======
= dropdown_tag(users_dropdown_label(issuable.assignees), options: issue_assignees_dropdown_options) = dropdown_tag(users_dropdown_label(issuable.assignees), options: issue_assignees_dropdown_options)
>>>>>>> ce/master
= link_to 'Assign to me', '#', class: "assign-to-me-link #{'hide' if issuable.assignees.include?(current_user)}" = link_to 'Assign to me', '#', class: "assign-to-me-link #{'hide' if issuable.assignees.include?(current_user)}"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment