Skip to content
Snippets Groups Projects
Commit 1e164e83 authored by Dorine Lambinet's avatar Dorine Lambinet
Browse files

Ajoute lien vers la partie édition du paramètre, nettoie le code en retirant les div du <a>

parent f9d08d91
No related branches found
No related tags found
No related merge requests found
......@@ -101,13 +101,14 @@
<div class="flex items-baseline text-gray-600 text-xs">
<div class="flex items-center">
<div class="flex">
<div
class="text-sm tracking-wide px-1 text-gray-600 underline border-r border-gray-700"
<a
class="text-sm tracking-wide px-1 text-gray-600 underline border-r border-gray-700 flex pr-2"
href="/parameters/{billParameter.name}/edit"
target="_blank"
>
<div class="flex pr-2">
{#if billLatestInstant < "2020" || billLatestInstant === "0001-01-01"}
<!-- Inspired from Material Icons name: Warning / with white symbol inside -->
<div class="flex pr-2">
<svg
aria-hidden="true"
class="block fill-current h-5 w-5 text-white "
......@@ -125,14 +126,13 @@
d="M10.7686 13.7418H10.8595C11.4117 13.7418 11.8595 13.2941 11.8595 12.7418V7.33008C11.8595 6.77779 11.4117 6.33008 10.8595 6.33008H10.7686C10.2163 6.33008 9.76855 6.77779 9.76855 7.33008V12.7418C9.76855 13.2941 10.2163 13.7418 10.7686 13.7418Z"
/>
</svg>
</div>
<span
title="La dernière relecture date de {billLatestInstantSplit[1]}/{billLatestInstantSplit[0]}"
class="pl-2"
title="La dernière relecture date du {billLatestInstantSplit[1]}/{billLatestInstantSplit[0]}"
>À vérifier</span
>
{:else}
<!-- Inspired from Material Icons name: New Releases / with white symbol inside -->
<div class="flex pr-2">
<svg
aria-hidden="true"
class="block h-5 w-5 text-white "
......@@ -148,14 +148,13 @@
fill="white"
/>
</svg>
</div>
<span
title="La dernière relecture date de {billLatestInstantSplit[1]}/{billLatestInstantSplit[0]}"
class="pl-2"
title="La dernière relecture date du {billLatestInstantSplit[1]}/{billLatestInstantSplit[0]}"
>Vérifié</span
>
{/if}
</div>
</div>
</a>
<div>
<a
......
......@@ -110,13 +110,14 @@
<div class="bg-gray-100 flex items-baseline text-gray-600 text-xs p-2">
<div class="flex items-center">
<div class="flex">
<div
class="text-gray-600 text-sm tracking-wide px-1 underline border-r border-gray-700"
<a
class="text-sm tracking-wide px-1 text-gray-600 underline border-r border-gray-700 flex pr-2"
href="/parameters/{billParameter.name}/edit"
target="_blank"
>
<div class="flex pr-2">
{#if billLatestInstant < "2020" || billLatestInstant === "0001-01-01"}
<!-- Inspired from Material Icons name: Warning / with white symbol inside -->
<div class="flex pr-2">
<svg
aria-hidden="true"
class="block fill-current h-5 w-5 text-white "
......@@ -134,14 +135,13 @@
d="M10.7686 13.7418H10.8595C11.4117 13.7418 11.8595 13.2941 11.8595 12.7418V7.33008C11.8595 6.77779 11.4117 6.33008 10.8595 6.33008H10.7686C10.2163 6.33008 9.76855 6.77779 9.76855 7.33008V12.7418C9.76855 13.2941 10.2163 13.7418 10.7686 13.7418Z"
/>
</svg>
</div>
<span
title="La dernière relecture date de {billLatestInstantSplit[1]}/{billLatestInstantSplit[0]}"
class="pl-2"
title="La dernière relecture date du {billLatestInstantSplit[1]}/{billLatestInstantSplit[0]}"
>À vérifier</span
>
{:else}
<!-- Inspired from Material Icons name: New Releases / with white symbol inside -->
<div class="flex pr-2">
<svg
aria-hidden="true"
class="block h-5 w-5 text-white "
......@@ -157,15 +157,13 @@
fill="white"
/>
</svg>
</div>
<span
title="La dernière relecture date de {billLatestInstantSplit[1]}/{billLatestInstantSplit[0]}"
class="pl-2"
title="La dernière relecture date du {billLatestInstantSplit[1]}/{billLatestInstantSplit[0]}"
>Vérifié</span
>
{/if}
</div>
</div>
</a>
<div>
<a
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment