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
d3293e49
Commit
d3293e49
authored
Aug 28, 2019
by
Desiree Chevalier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backport EE changes for built-in project template test
parent
a0a6a2fd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/views/projects/project_templates/_built_in_templates.html.haml
.../projects/project_templates/_built_in_templates.html.haml
+2
-2
qa/qa/page/project/show.rb
qa/qa/page/project/show.rb
+1
-1
No files found.
app/views/projects/project_templates/_built_in_templates.html.haml
View file @
d3293e49
-
Gitlab
::
ProjectTemplate
.
all
.
each
do
|
template
|
-
Gitlab
::
ProjectTemplate
.
all
.
each
do
|
template
|
.template-option.d-flex.align-items-center
.template-option.d-flex.align-items-center
{
data:
{
qa_selector:
'template_option_row'
}
}
.logo.append-right-10.px-1
.logo.append-right-10.px-1
=
image_tag
template
.
logo
,
size:
32
,
class:
"btn-template-icon icon-
#{
template
.
name
}
"
=
image_tag
template
.
logo
,
size:
32
,
class:
"btn-template-icon icon-
#{
template
.
name
}
"
.description
.description
...
@@ -13,5 +13,5 @@
...
@@ -13,5 +13,5 @@
=
_
(
"Preview"
)
=
_
(
"Preview"
)
%label
.btn.btn-success.template-button.choose-template.append-bottom-0
{
for:
template
.
name
}
%label
.btn.btn-success.template-button.choose-template.append-bottom-0
{
for:
template
.
name
}
%input
{
type:
"radio"
,
autocomplete:
"off"
,
name:
"project[template_name]"
,
id:
template
.
name
,
value:
template
.
name
,
data:
{
track_label:
"template_use"
,
track_property:
template
.
name
,
track_event:
"click_button"
,
track_value:
""
}
}
%input
{
type:
"radio"
,
autocomplete:
"off"
,
name:
"project[template_name]"
,
id:
template
.
name
,
value:
template
.
name
,
data:
{
track_label:
"template_use"
,
track_property:
template
.
name
,
track_event:
"click_button"
,
track_value:
""
}
}
%span
%span
{
data:
{
qa_selector:
'use_template_button'
}
}
=
_
(
"Use template"
)
=
_
(
"Use template"
)
qa/qa/page/project/show.rb
View file @
d3293e49
...
@@ -132,4 +132,4 @@ module QA
...
@@ -132,4 +132,4 @@ module QA
end
end
end
end
QA
::
Page
::
Project
.
prepend_if_ee
(
'QA::EE::Page::Project::Show'
)
QA
::
Page
::
Project
::
Show
.
prepend_if_ee
(
'QA::EE::Page::Project::Show'
)
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