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
55a03658
Commit
55a03658
authored
Apr 08, 2022
by
Alexander Turinske
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update import checkbox to pajamas
- use new gitlab_ui_checkbox_component Changelog: other EE: true
parent
cc7b85de
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
app/views/projects/_import_project_pane.html.haml
app/views/projects/_import_project_pane.html.haml
+1
-1
app/views/projects/imports/new.html.haml
app/views/projects/imports/new.html.haml
+1
-1
ee/app/views/projects/_new_ci_cd_only_project_pane.html.haml
ee/app/views/projects/_new_ci_cd_only_project_pane.html.haml
+1
-1
ee/app/views/shared/ee/_import_form.html.haml
ee/app/views/shared/ee/_import_form.html.haml
+3
-3
No files found.
app/views/projects/_import_project_pane.html.haml
View file @
55a03658
...
...
@@ -80,7 +80,7 @@
.js-toggle-content.toggle-import-form
{
class:
(
'hide'
if
active_tab
!=
'import'
)
}
=
form_for
@project
,
html:
{
class:
'new_project gl-show-field-errors js-project-import'
}
do
|
f
|
=
gitlab_ui_
form_for
@project
,
html:
{
class:
'new_project gl-show-field-errors js-project-import'
}
do
|
f
|
%hr
=
render
"shared/import_form"
,
f:
f
=
render
'projects/new_project_fields'
,
f:
f
,
project_name_id:
"import-url-name"
,
hide_init_with_readme:
true
,
track_label:
track_label
app/views/projects/imports/new.html.haml
View file @
55a03658
...
...
@@ -12,7 +12,7 @@
:preserve
#{
h
(
@project
.
import_state
.
last_error
)
}
=
form_for
@project
,
url:
project_import_path
(
@project
),
method: :post
,
html:
{
class:
'js-project-import'
}
do
|
f
|
=
gitlab_ui_
form_for
@project
,
url:
project_import_path
(
@project
),
method: :post
,
html:
{
class:
'js-project-import'
}
do
|
f
|
=
render
"shared/import_form"
,
f:
f
.form-actions
...
...
ee/app/views/projects/_new_ci_cd_only_project_pane.html.haml
View file @
55a03658
...
...
@@ -2,7 +2,7 @@
-
track_label
=
local_assigns
.
fetch
(
:track_label
,
'cicd_for_external_repo'
)
#ci-cd-project-pane
.tab-pane
=
form_for
@project
,
html:
{
class:
'new_project'
}
do
|
f
|
=
gitlab_ui_
form_for
@project
,
html:
{
class:
'new_project'
}
do
|
f
|
.project-import.row
.col-lg-12
%h4
...
...
ee/app/views/shared/ee/_import_form.html.haml
View file @
55a03658
...
...
@@ -2,9 +2,9 @@
-
return
unless
License
.
feature_available?
(
:repository_mirrors
)
.form-group
=
f
.
label
:mirror
,
class:
'label-bold'
do
=
f
.
check_box
:mirror
,
disabled:
true
%strong
=
_
(
'Mirror repository'
)
=
f
.
gitlab_ui_checkbox_component
:mirror
,
_
(
'Mirror repository'
),
checkbox_options:
{
disabled:
true
}
.form-text.text-muted
=
_
(
"Automatically update this project's branches and tags from the upstream repository every hour."
)
-
if
Gitlab
::
CurrentSettings
.
should_check_namespace_plan?
...
...
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