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
6d58727f
Commit
6d58727f
authored
Aug 02, 2018
by
Luke Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix direction select disabled
parent
f2229c1a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
app/views/projects/mirrors/_mirror_repos.html.haml
app/views/projects/mirrors/_mirror_repos.html.haml
+1
-1
app/views/projects/mirrors/_mirror_repos_form.html.haml
app/views/projects/mirrors/_mirror_repos_form.html.haml
+1
-1
ee/app/views/projects/mirrors/_mirror_repos_form.html.haml
ee/app/views/projects/mirrors/_mirror_repos_form.html.haml
+1
-1
No files found.
app/views/projects/mirrors/_mirror_repos.html.haml
View file @
6d58727f
...
...
@@ -31,7 +31,7 @@
.form-group
=
label_tag
:mirror_direction
,
_
(
'Mirror direction'
),
class:
'label-light'
=
select_tag
:mirror_direction
,
options_for_select
(
options
),
class:
'form-control js-mirror-direction'
,
disabled:
"
#{
'disabled'
if
options
.
count
==
1
}
"
=
select_tag
:mirror_direction
,
options_for_select
(
options
),
class:
'form-control js-mirror-direction'
,
count:
options
.
count
,
disabled:
options
.
count
==
1
=
render
'projects/mirrors/mirror_repos_form'
,
can_push:
can_push
,
can_pull:
can_pull
,
f:
f
...
...
app/views/projects/mirrors/_mirror_repos_form.html.haml
View file @
6d58727f
...
...
@@ -7,7 +7,7 @@
.form-group
=
label_tag
:auth_method
,
_
(
'Authentication method'
),
class:
'label-bold'
=
select_tag
:auth_method
,
options_for_select
([[
_
(
'Password'
),
'password'
]],
'password'
),
{
class:
"form-control js-auth-method"
,
disabled:
'disabled'
}
=
select_tag
:auth_method
,
options_for_select
([[
_
(
'Password'
),
'password'
]],
'password'
),
{
class:
"form-control js-auth-method"
,
disabled:
true
}
.form-group
=
label_tag
:password
,
_
(
'Password'
),
class:
'label-bold'
...
...
ee/app/views/projects/mirrors/_mirror_repos_form.html.haml
View file @
6d58727f
...
...
@@ -13,7 +13,7 @@
.form-group
=
label_tag
:auth_method
,
_
(
'Authentication method'
),
class:
'label-bold'
=
select_tag
:auth_method
,
options_for_select
([[
_
(
'Password'
),
'password'
]],
'password'
),
{
class:
"form-control js-auth-method"
,
disabled:
'disabled'
}
=
select_tag
:auth_method
,
options_for_select
([[
_
(
'Password'
),
'password'
]],
'password'
),
{
class:
"form-control js-auth-method"
,
disabled:
true
}
.form-group
=
label_tag
:password
,
_
(
'Password'
),
class:
'label-bold'
...
...
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