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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
641d8ec7
Commit
641d8ec7
authored
Aug 09, 2018
by
Luke Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix missed port
parent
c22bff82
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/views/projects/mirrors/_mirror_repos_form.html.haml
app/views/projects/mirrors/_mirror_repos_form.html.haml
+2
-2
No files found.
app/views/projects/mirrors/_mirror_repos_form.html.haml
View file @
641d8ec7
...
@@ -4,14 +4,14 @@
...
@@ -4,14 +4,14 @@
=
label_tag
:mirror_direction
,
_
(
'Mirror direction'
),
class:
'label-light'
=
label_tag
:mirror_direction
,
_
(
'Mirror direction'
),
class:
'label-light'
=
select_tag
:mirror_direction
,
options_for_select
([[
_
(
'Push'
),
'push'
]]),
class:
'form-control js-mirror-direction'
,
disabled:
true
=
select_tag
:mirror_direction
,
options_for_select
([[
_
(
'Push'
),
'push'
]]),
class:
'form-control js-mirror-direction'
,
disabled:
true
=
f
.
fields_for
:remote_mirrors
,
@
remote_mirror
do
|
rm_f
|
=
f
.
fields_for
:remote_mirrors
,
@
project
.
remote_mirrors
.
build
do
|
rm_f
|
=
rm_f
.
hidden_field
:enabled
,
value:
'1'
=
rm_f
.
hidden_field
:enabled
,
value:
'1'
=
rm_f
.
hidden_field
:url
,
class:
'js-mirror-url-hidden'
,
required:
true
,
pattern:
"(
#{
protocols
}
):
\/\/
.+"
=
rm_f
.
hidden_field
:url
,
class:
'js-mirror-url-hidden'
,
required:
true
,
pattern:
"(
#{
protocols
}
):
\/\/
.+"
=
rm_f
.
hidden_field
:only_protected_branches
,
class:
'js-mirror-protected-hidden'
=
rm_f
.
hidden_field
:only_protected_branches
,
class:
'js-mirror-protected-hidden'
.form-group
.form-group
=
label_tag
:auth_method
,
_
(
'Authentication method'
),
class:
'label-bold'
=
label_tag
:auth_method
,
_
(
'Authentication method'
),
class:
'label-bold'
=
select_tag
:auth_method
,
options_for_select
([[
_
(
'None'
),
'none'
],
[
_
(
'Password'
),
'password'
]],
'none'
),
{
class:
"form-control js-auth-method"
,
disabled:
true
}
=
select_tag
:auth_method
,
options_for_select
([[
_
(
'None'
),
'none'
],
[
_
(
'Password'
),
'password'
]],
'none'
),
{
class:
"form-control js-auth-method"
}
.form-group.js-password-group.collapse
.form-group.js-password-group.collapse
=
label_tag
:password
,
_
(
'Password'
),
class:
'label-bold'
=
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