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
c21e8fdf
Commit
c21e8fdf
authored
Apr 25, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
ee2836b4
69f0ae40
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
app/views/projects/mirrors/_mirror_repos.html.haml
app/views/projects/mirrors/_mirror_repos.html.haml
+2
-2
app/views/shared/_sidebar_toggle_button.html.haml
app/views/shared/_sidebar_toggle_button.html.haml
+2
-2
changelogs/unreleased/sh-fix-autocomplete-mirror-repo.yml
changelogs/unreleased/sh-fix-autocomplete-mirror-repo.yml
+5
-0
No files found.
app/views/projects/mirrors/_mirror_repos.html.haml
View file @
c21e8fdf
...
...
@@ -11,7 +11,7 @@
=
link_to
_
(
'Read more'
),
help_page_path
(
'workflow/repository_mirroring'
),
target:
'_blank'
.settings-content
=
form_for
@project
,
url:
project_mirror_path
(
@project
),
html:
{
class:
'gl-show-field-errors js-mirror-form'
,
autocomplete:
'
false
'
,
data:
mirrors_form_data_attributes
}
do
|
f
|
=
form_for
@project
,
url:
project_mirror_path
(
@project
),
html:
{
class:
'gl-show-field-errors js-mirror-form'
,
autocomplete:
'
new-password
'
,
data:
mirrors_form_data_attributes
}
do
|
f
|
.panel.panel-default
.panel-heading
%h3
.panel-title
=
_
(
'Mirror a repository'
)
...
...
@@ -20,7 +20,7 @@
.form-group.has-feedback
=
label_tag
:url
,
_
(
'Git repository URL'
),
class:
'label-light'
=
text_field_tag
:url
,
nil
,
class:
'form-control js-mirror-url js-repo-url qa-mirror-repository-url-input'
,
placeholder:
_
(
'Input your repository URL'
),
required:
true
,
pattern:
"(
#{
protocols
}
):
\/\/
.+"
=
text_field_tag
:url
,
nil
,
class:
'form-control js-mirror-url js-repo-url qa-mirror-repository-url-input'
,
placeholder:
_
(
'Input your repository URL'
),
required:
true
,
pattern:
"(
#{
protocols
}
):
\/\/
.+"
,
autocomplete:
'new-password'
=
render
'projects/mirrors/instructions'
...
...
app/views/shared/_sidebar_toggle_button.html.haml
View file @
c21e8fdf
%a
.toggle-sidebar-button.js-toggle-sidebar
{
role:
"button"
,
type:
"button"
,
title:
"Toggle sidebar"
}
=
sprite_icon
(
'angle-double-left'
,
css_class:
'icon-angle-double-left'
)
=
sprite_icon
(
'angle-double-right'
,
css_class:
'icon-angle-double-right'
)
%span
.collapse-text
_("Collapse sidebar")
%span
.collapse-text
Collapse sidebar
=
button_tag
class:
'close-nav-button'
,
type:
'button'
do
=
sprite_icon
(
'close'
,
size:
16
)
%span
.collapse-text
_("Close sidebar")
%span
.collapse-text
Close sidebar
changelogs/unreleased/sh-fix-autocomplete-mirror-repo.yml
0 → 100644
View file @
c21e8fdf
---
title
:
Disable password autocomplete in mirror repository form
merge_request
:
27542
author
:
type
:
fixed
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