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
54b92d1d
Commit
54b92d1d
authored
Aug 26, 2021
by
Alex Buijs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix broken image for runner templates
Changelog: fixed
parent
c197ee17
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
app/assets/javascripts/vue_shared/components/runner_aws_deployments/runner_aws_deployments_modal.vue
...s/runner_aws_deployments/runner_aws_deployments_modal.vue
+7
-1
spec/frontend/vue_shared/components/runner_aws_deployments/runner_aws_deployments_modal_spec.js
...nner_aws_deployments/runner_aws_deployments_modal_spec.js
+1
-0
No files found.
app/assets/javascripts/vue_shared/components/runner_aws_deployments/runner_aws_deployments_modal.vue
View file @
54b92d1d
<
script
>
import
{
GlModal
,
GlSprintf
,
GlLink
}
from
'
@gitlab/ui
'
;
import
awsCloudFormationImageUrl
from
'
images/aws-cloud-formation.png
'
;
import
ExperimentTracking
from
'
~/experimentation/experiment_tracking
'
;
import
{
getBaseURL
,
objectToQuery
}
from
'
~/lib/utils/url_utility
'
;
import
{
__
,
s__
}
from
'
~/locale
'
;
...
...
@@ -22,6 +23,11 @@ export default {
type
:
String
,
required
:
true
,
},
imgSrc
:
{
type
:
String
,
required
:
false
,
default
:
awsCloudFormationImageUrl
,
},
},
methods
:
{
easyButtonUrl
(
easyButton
)
{
...
...
@@ -76,7 +82,7 @@ export default {
<img
:title=
"easyButton.stackName"
:alt=
"easyButton.stackName"
src=
"/assets/aws-cloud-formation.png
"
:src=
"imgSrc
"
width=
"46"
height=
"46"
class=
"gl-mt-2 gl-mr-5 gl-mb-6"
...
...
spec/frontend/vue_shared/components/runner_aws_deployments/runner_aws_deployments_modal_spec.js
View file @
54b92d1d
...
...
@@ -21,6 +21,7 @@ describe('RunnerAwsDeploymentsModal', () => {
wrapper
=
shallowMount
(
RunnerAwsDeploymentsModal
,
{
propsData
:
{
modalId
:
'
runner-aws-deployments-modal
'
,
imgSrc
:
'
/assets/aws-cloud-formation.png
'
,
},
});
};
...
...
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