Commit da2dc546 authored by clenneville's avatar clenneville

Apply patch to use safe html directive

parent 685955bb
<script>
import { GlLoadingIcon, GlButton, GlAlert } from '@gitlab/ui';
import { GlLoadingIcon, GlButton, GlAlert, GlSafeHtmlDirective } from '@gitlab/ui';
export default {
components: {
......@@ -7,6 +7,9 @@ export default {
GlButton,
GlAlert,
},
directives: {
SafeHtml: GlSafeHtmlDirective,
},
props: {
isLoading: {
type: Boolean,
......@@ -59,9 +62,12 @@ export default {
{{ __('Start Web Terminal') }}
</gl-button>
</p>
<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>
<gl-alert
v-if="!isValid && message"
v-safe-html="message"
variant="tip"
:dismissable="false"
/>
<p v-else>
<a
v-if="helpPath"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment