Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
947c7467
Commit
947c7467
authored
Feb 08, 2016
by
Valery Sizov
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ce-upstream' of gitlab.com:gitlab-org/gitlab-ee into ce-upstream
parents
5f731dbf
15bf2d3e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
31 deletions
+17
-31
app/controllers/omniauth_callbacks_controller.rb
app/controllers/omniauth_callbacks_controller.rb
+0
-4
app/views/shared/issuable/_sidebar.html.haml
app/views/shared/issuable/_sidebar.html.haml
+17
-27
No files found.
app/controllers/omniauth_callbacks_controller.rb
View file @
947c7467
...
...
@@ -30,11 +30,7 @@ class OmniauthCallbacksController < Devise::OmniauthCallbacksController
# Do additional LDAP checks for the user filter and EE features
if
ldap_user
.
allowed?
<<<<<<<
HEAD
if
@user
.
otp_required_for_login?
=======
if
@user
.
two_factor_enabled?
>>>>>>>
9
afcacb3a4f50d45d19b7222edbe0902daa35bb4
prompt_for_two_factor
(
@user
)
else
log_audit_event
(
@user
,
with: :ldap
)
...
...
app/views/shared/issuable/_sidebar.html.haml
View file @
947c7467
...
...
@@ -76,26 +76,6 @@
=
hidden_field_tag
:issuable_context
=
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?
.block.labels
.sidebar-collapsed-icon
...
...
@@ -116,7 +96,23 @@
.selectbox
=
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"
}
>
>>>>>> 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
)
%hr
...
...
@@ -148,12 +144,6 @@
=
project_ref
=
clipboard_button
(
clipboard_text:
project_ref
)
<
<<<<<<
HEAD
:javascript
new
Subscription
(
"
#{
toggle_subscription_path
(
issuable
)
}
"
);
new
IssuableContext
();
==
=====
:javascript
new
Subscription
(
"
#{
toggle_subscription_path
(
issuable
)
}
"
);
new
IssuableContext
();
>
>>>>>> 9afcacb3a4f50d45d19b7222edbe0902daa35bb4
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment