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
685955bb
Commit
685955bb
authored
Nov 10, 2020
by
clenneville
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove v-html for security
parent
3ad629ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
app/assets/javascripts/ide/components/terminal/empty_state.vue
...ssets/javascripts/ide/components/terminal/empty_state.vue
+3
-2
No files found.
app/assets/javascripts/ide/components/terminal/empty_state.vue
View file @
685955bb
<
script
>
/* eslint-disable vue/no-v-html */
import
{
GlLoadingIcon
,
GlButton
,
GlAlert
}
from
'
@gitlab/ui
'
;
export
default
{
...
...
@@ -60,7 +59,9 @@ export default {
{{
__
(
'
Start Web Terminal
'
)
}}
</gl-button>
</p>
<gl-alert
v-if=
"!isValid && message"
variant=
"tip"
:dismissable=
"false"
v-html=
"message"
/>
<gl-alert
v-if=
"!isValid && message"
variant=
"tip"
:dismissable=
"false"
>
{{
__
(
'
Configure a .gitlab-webide.yml file in the .gitlab directory to start using the Web Terminal. %{helpStart
}
Learn more.%{helpEnd
}
'
)
}}
<
/gl-alert
>
<
p
v
-
else
>
<
a
v
-
if
=
"
helpPath
"
...
...
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