Commit 947c7467 authored by Valery Sizov's avatar Valery Sizov

Merge branch 'ce-upstream' of gitlab.com:gitlab-org/gitlab-ee into ce-upstream

parents 5f731dbf 15bf2d3e
...@@ -30,11 +30,7 @@ class OmniauthCallbacksController < Devise::OmniauthCallbacksController ...@@ -30,11 +30,7 @@ class OmniauthCallbacksController < Devise::OmniauthCallbacksController
# Do additional LDAP checks for the user filter and EE features # Do additional LDAP checks for the user filter and EE features
if ldap_user.allowed? if ldap_user.allowed?
<<<<<<< HEAD
if @user.otp_required_for_login?
=======
if @user.two_factor_enabled? if @user.two_factor_enabled?
>>>>>>> 9afcacb3a4f50d45d19b7222edbe0902daa35bb4
prompt_for_two_factor(@user) prompt_for_two_factor(@user)
else else
log_audit_event(@user, with: :ldap) log_audit_event(@user, with: :ldap)
......
...@@ -76,26 +76,6 @@ ...@@ -76,26 +76,6 @@
= hidden_field_tag :issuable_context = hidden_field_tag :issuable_context
= f.submit class: 'btn hide' = f.submit class: 'btn hide'
<<<<<<< HEAD
- if issuable.respond_to?(:weight)
.block.weight
.title
%label Weight
- if can?(current_user, :"admin_#{issuable.to_ability_name}", @project)
.pull-right
= link_to 'Edit', '#', class: 'edit-link'
.value
- if issuable.weight
= icon('balance-scale')
= issuable.weight
- else
.light None
.selectbox
= f.select :weight, projects_weight_options(issuable.weight), { include_blank: true },
{ class: 'select2 js-select2', data: { placeholder: "Select weight" }}
= render "shared/issuable/participants", participants: issuable.participants(current_user)
=======
- if issuable.project.labels.any? - if issuable.project.labels.any?
.block.labels .block.labels
.sidebar-collapsed-icon .sidebar-collapsed-icon
...@@ -116,7 +96,23 @@ ...@@ -116,7 +96,23 @@
.selectbox .selectbox
= f.collection_select :label_ids, issuable.project.labels.all, :id, :name, = f.collection_select :label_ids, issuable.project.labels.all, :id, :name,
{ selected: issuable.label_ids }, multiple: true, class: 'select2 js-select2', data: { placeholder: "Select labels" } { selected: issuable.label_ids }, multiple: true, class: 'select2 js-select2', data: { placeholder: "Select labels" }
>>>>>>> 9afcacb3a4f50d45d19b7222edbe0902daa35bb4
- if issuable.respond_to?(:weight)
.block.weight
.title
%label Weight
- if can?(current_user, :"admin_#{issuable.to_ability_name}", @project)
.pull-right
= link_to 'Edit', '#', class: 'edit-link'
.value
- if issuable.weight
= icon('balance-scale')
= issuable.weight
- else
.light None
.selectbox
= f.select :weight, projects_weight_options(issuable.weight), { include_blank: true },
{ class: 'select2 js-select2', data: { placeholder: "Select weight" }}
= render "shared/issuable/participants", participants: issuable.participants(current_user) = render "shared/issuable/participants", participants: issuable.participants(current_user)
%hr %hr
...@@ -148,12 +144,6 @@ ...@@ -148,12 +144,6 @@
= project_ref = project_ref
= clipboard_button(clipboard_text: project_ref) = clipboard_button(clipboard_text: project_ref)
<<<<<<< HEAD
:javascript
new Subscription("#{toggle_subscription_path(issuable)}");
new IssuableContext();
=======
:javascript :javascript
new Subscription("#{toggle_subscription_path(issuable)}"); new Subscription("#{toggle_subscription_path(issuable)}");
new IssuableContext(); new IssuableContext();
>>>>>>> 9afcacb3a4f50d45d19b7222edbe0902daa35bb4
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