Commit dcc3c02b authored by shampton's avatar shampton Committed by Erick Bajao

Modify callout to allow for html

Modifying only the callout in the job app
page, since v-html should be used
sparingly.
parent df089f6c
...@@ -6,7 +6,6 @@ import { isScrolledToBottom } from '~/lib/utils/scroll_utils'; ...@@ -6,7 +6,6 @@ import { isScrolledToBottom } from '~/lib/utils/scroll_utils';
import { polyfillSticky } from '~/lib/utils/sticky'; import { polyfillSticky } from '~/lib/utils/sticky';
import bp from '~/breakpoints'; import bp from '~/breakpoints';
import CiHeader from '~/vue_shared/components/header_ci_component.vue'; import CiHeader from '~/vue_shared/components/header_ci_component.vue';
import Callout from '~/vue_shared/components/callout.vue';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
import createStore from '../store'; import createStore from '../store';
import EmptyState from './empty_state.vue'; import EmptyState from './empty_state.vue';
...@@ -25,7 +24,6 @@ export default { ...@@ -25,7 +24,6 @@ export default {
store: createStore(), store: createStore(),
components: { components: {
CiHeader, CiHeader,
Callout,
EmptyState, EmptyState,
EnvironmentsBlock, EnvironmentsBlock,
ErasedBlock, ErasedBlock,
...@@ -239,10 +237,11 @@ export default { ...@@ -239,10 +237,11 @@ export default {
/> />
</div> </div>
<callout <div
v-if="shouldRenderCalloutMessage && !hasUnmetPrerequisitesFailure" v-if="shouldRenderCalloutMessage && !hasUnmetPrerequisitesFailure"
:message="job.callout_message" class="bs-callout bs-callout-danger"
/> v-html="job.callout_message"
></div>
</header> </header>
<!-- EO Header Section --> <!-- EO Header Section -->
......
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