2021-05-29 12:29:22 +02:00
|
|
|
<!--
|
|
|
|
Copyright: Ankitects Pty Ltd and contributors
|
|
|
|
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
|
|
-->
|
|
|
|
<script lang="ts">
|
|
|
|
import { slide } from "svelte/transition";
|
2022-02-04 09:36:34 +01:00
|
|
|
|
2021-11-17 04:49:52 +01:00
|
|
|
import Row from "../components/Row.svelte";
|
2022-02-04 09:36:34 +01:00
|
|
|
import { withoutUnicodeIsolation } from "../lib/i18n";
|
2021-05-29 12:29:22 +02:00
|
|
|
|
|
|
|
export let warning: string;
|
|
|
|
</script>
|
|
|
|
|
|
|
|
{#if warning}
|
|
|
|
<Row>
|
|
|
|
<div class="col-12 alert alert-warning mb-0" in:slide out:slide>
|
2021-10-26 12:11:25 +02:00
|
|
|
{withoutUnicodeIsolation(warning)}
|
2021-05-29 12:29:22 +02:00
|
|
|
</div>
|
|
|
|
</Row>
|
|
|
|
{/if}
|