mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
fix eslint vue/no-v-text-v-html-on-component
This commit is contained in:
parent
c5bc384f34
commit
dceae397b4
6 changed files with 20 additions and 10 deletions
|
@ -70,8 +70,9 @@
|
||||||
|
|
||||||
<b-nav-text
|
<b-nav-text
|
||||||
v-if="yunohost" id="yunohost-version" class="ml-md-auto text-center"
|
v-if="yunohost" id="yunohost-version" class="ml-md-auto text-center"
|
||||||
v-html="$t('footer_version', yunohost)"
|
>
|
||||||
/>
|
<span v-html="$t('footer_version', yunohost)" />
|
||||||
|
</b-nav-text>
|
||||||
</b-nav>
|
</b-nav>
|
||||||
</nav>
|
</nav>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
@ -13,8 +13,9 @@
|
||||||
<b-alert
|
<b-alert
|
||||||
v-if="errorFeedback"
|
v-if="errorFeedback"
|
||||||
variant="danger" class="my-3" icon="ban"
|
variant="danger" class="my-3" icon="ban"
|
||||||
v-html="errorFeedback"
|
>
|
||||||
/>
|
<div v-html="errorFeedback" />
|
||||||
|
</b-alert>
|
||||||
</slot>
|
</slot>
|
||||||
</b-form>
|
</b-form>
|
||||||
</b-card-body>
|
</b-card-body>
|
||||||
|
|
|
@ -12,8 +12,10 @@
|
||||||
<slot name="server-error">
|
<slot name="server-error">
|
||||||
<b-alert
|
<b-alert
|
||||||
variant="danger" class="my-3" icon="ban"
|
variant="danger" class="my-3" icon="ban"
|
||||||
:show="errorFeedback !== ''" v-html="errorFeedback"
|
:show="errorFeedback !== ''"
|
||||||
/>
|
>
|
||||||
|
<div v-html="errorFeedback" />
|
||||||
|
</b-alert>
|
||||||
</slot>
|
</slot>
|
||||||
</b-form>
|
</b-form>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -4,8 +4,10 @@
|
||||||
{{ label }}
|
{{ label }}
|
||||||
</b-col>
|
</b-col>
|
||||||
|
|
||||||
|
<b-col>
|
||||||
<!-- FIXME not sure about rendering html -->
|
<!-- FIXME not sure about rendering html -->
|
||||||
<b-col v-html="text" />
|
<div v-html="text" />
|
||||||
|
</b-col>
|
||||||
</b-row>
|
</b-row>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,9 @@
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<strong v-t="'api_error.error_message'" />
|
<strong v-t="'api_error.error_message'" />
|
||||||
<b-alert class="mt-2" variant="danger" v-html="error.message" />
|
<b-alert class="mt-2" variant="danger">
|
||||||
|
<div v-html="error.message" />
|
||||||
|
</b-alert>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<template v-if="error.traceback">
|
<template v-if="error.traceback">
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
<template>
|
<template>
|
||||||
<!-- This card receives style from `ViewLockOverlay` if used inside it -->
|
<!-- This card receives style from `ViewLockOverlay` if used inside it -->
|
||||||
<div>
|
<div>
|
||||||
<b-card-body body-class="alert alert-warning" v-html="warning.text" />
|
<b-card-body body-class="alert alert-warning">
|
||||||
|
<div v-html="warning.text" />
|
||||||
|
</b-card-body>
|
||||||
|
|
||||||
<b-card-footer footer-bg-variant="warning">
|
<b-card-footer footer-bg-variant="warning">
|
||||||
<b-button
|
<b-button
|
||||||
|
|
Loading…
Add table
Reference in a new issue