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
e9e519ac
Commit
e9e519ac
authored
Jul 18, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
c7302340
53c0c433
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
.haml-lint.yml
.haml-lint.yml
+3
-1
app/views/admin/users/index.html.haml
app/views/admin/users/index.html.haml
+1
-1
app/views/devise/sessions/_new_ldap.html.haml
app/views/devise/sessions/_new_ldap.html.haml
+2
-2
No files found.
.haml-lint.yml
View file @
e9e519ac
...
...
@@ -118,7 +118,6 @@ linters:
-
Lint/ParenthesesAsGroupedExpression
-
Lint/RedundantWithIndex
-
Lint/SafeNavigationConsistency
-
Lint/Syntax
-
Metrics/BlockNesting
-
Naming/VariableName
-
Performance/RedundantMatch
...
...
@@ -155,6 +154,9 @@ linters:
enabled
:
true
style
:
space
Syntax
:
enabled
:
true
Indentation
:
enabled
:
true
character
:
space
# or tab
...
...
app/views/admin/users/index.html.haml
View file @
e9e519ac
...
...
@@ -52,7 +52,7 @@
=
icon
(
"search"
,
class:
"search-icon"
)
=
button_tag
s_
(
'AdminUsers|Search users'
)
if
Rails
.
env
.
test?
.dropdown.user-sort-dropdown
-
toggle_text
=
if
@sort
.
present?
then
users_sort_options_hash
[
@sort
]
else
sort_title_name
end
-
toggle_text
=
@sort
.
present?
?
users_sort_options_hash
[
@sort
]
:
sort_title_name
=
dropdown_toggle
(
toggle_text
,
{
toggle:
'dropdown'
})
%ul
.dropdown-menu.dropdown-menu-right
%li
.dropdown-header
...
...
app/views/devise/sessions/_new_ldap.html.haml
View file @
e9e519ac
...
...
@@ -3,10 +3,10 @@
=
form_tag
(
omniauth_callback_path
(
:user
,
server
[
'provider_name'
]),
id:
'new_ldap_user'
,
class:
"gl-show-field-errors"
)
do
.form-group
=
label_tag
:username
,
"
#{
server
[
'label'
]
}
Username"
=
text_field_tag
:username
,
nil
,
{
class:
"form-control top"
,
title:
"This field is required."
,
autofocus:
"autofocus"
,
data:
{
qa_selector:
'username_field'
}
required:
true
}
=
text_field_tag
:username
,
nil
,
{
class:
"form-control top"
,
title:
"This field is required."
,
autofocus:
"autofocus"
,
data:
{
qa_selector:
'username_field'
},
required:
true
}
.form-group
=
label_tag
:password
=
password_field_tag
:password
,
nil
,
{
class:
"form-control bottom"
,
title:
"This field is required."
,
data:
{
qa_selector:
'password_field'
}
required:
true
}
=
password_field_tag
:password
,
nil
,
{
class:
"form-control bottom"
,
title:
"This field is required."
,
data:
{
qa_selector:
'password_field'
}
,
required:
true
}
-
if
devise_mapping
.
rememberable?
.remember-me
%label
{
for:
"remember_me"
}
...
...
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