Skip to content
Snippets Groups Projects
Commit d9ee0dd8 authored by Emmanuel Raviart's avatar Emmanuel Raviart
Browse files

Merge branch 'ui-alerte-decrêt' into 'master'

Ui du panneau de notif

See merge request leximpact/leximpact-socio-fiscal-ui!100
parents f90fe55e 1befa4a9
No related branches found
No related tags found
1 merge request!100Ui du panneau de notif
Pipeline #5813 passed
...@@ -70,6 +70,22 @@ ...@@ -70,6 +70,22 @@
<div class="grid grid-cols-1 gap-x-8 sm:grid-cols-3"> <div class="grid grid-cols-1 gap-x-8 sm:grid-cols-3">
<div class="mb-4 sm:col-span-2"> <div class="mb-4 sm:col-span-2">
<div
class="mb-3 flex rounded-md border-2 border-orange-500 bg-orange-100 p-2"
>
<Icon
class="mr-2 h-5 w-5 min-w-fit text-orange-500"
icon="ri-file-warning-fill"
/>
<p class="text-orange-900">
Cet article est
<span class="font-bold"
>{#if numArticle.startsWith("A")}
un arrêté{:else if numArticle.startsWith("D")}un décret{:else if numArticle.startsWith("R")}un
décret pris en Conseil d'État{/if}</span
>. Il n'est pas amendable par un parlementaire.
</p>
</div>
<h4 class="mb-2 font-serif text-xl italic text-gray-700 md:text-2xl"> <h4 class="mb-2 font-serif text-xl italic text-gray-700 md:text-2xl">
<Icon <Icon
class="mr-1 inline-flex h-7 w-7 text-le-gris-dispositif-light" class="mr-1 inline-flex h-7 w-7 text-le-gris-dispositif-light"
...@@ -105,23 +121,6 @@ ...@@ -105,23 +121,6 @@
</div> </div>
</div> </div>
{#if numArticle.startsWith("A")}
<span class="bg-red-500">
Cet article fait partie d'un arrêté. Il n'est pas amendable par un
parlementaire.
</span>
{:else if numArticle.startsWith("D")}
<span class="bg-red-500">
Cet article fait partie d'un décret. Il n'est pas amendable par un
parlementaire.
</span>
{:else if numArticle.startsWith("R")}
<span class="bg-red-500">
Cet article fait partie d'un décret pris en Conseil d'État. Il n'est pas
amendable par un parlementaire.
</span>
{/if}
<div class="prose font-serif"> <div class="prose font-serif">
{@html contenu} {@html contenu}
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment