add Date for diags in all pages
This commit is contained in:
parent
65c2f52438
commit
038c256fc5
|
@ -29,11 +29,12 @@
|
|||
<div class="flex-1 ml-3">
|
||||
<a href="/app/diags/{{$diags}}"class="mt-1 text-sm text-gray-900">{{.Name}}</a>
|
||||
</div>
|
||||
<div class="flex-1 ml-3">
|
||||
<p class="mt-1 text-sm text-gray-900">{{(timeFrom .Diagdate).Format "02/01/2006"}}</p>
|
||||
</div>
|
||||
<a href="/app/diags/{{$diags}}" target="_blank">
|
||||
<button type="button" class="inline-flex items-center rounded-md border border-gray-300 bg-white px-3 py-2 text-sm font-medium leading-4 text-gray-700 shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-co-blue focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-30">Voir<span class="sr-only"> le diagnostic</span></button>
|
||||
</a>
|
||||
<a href="/app/diags/{{$diags}}/delete" class="inline-flex"><button type="button"
|
||||
class="w-full ml-4 px-4 py-2 border border-transparent text-sm font-medium rounded-2xl shadow-sm text-white bg-co-red hover:bg-co-red focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-co-blue">Retirer</button></a>
|
||||
</a>
|
||||
</li>
|
||||
{{end}}
|
||||
{{if eq .Deleted true}}
|
||||
|
@ -41,6 +42,9 @@
|
|||
<div class="flex-1 ml-3">
|
||||
<p class="mt-1 text-sm text-gray-900">{{.Name}}</p>
|
||||
</div>
|
||||
<div class="flex-1 ml-3">
|
||||
<p class="mt-1 text-sm text-gray-900">{{(timeFrom .Diagdate).Format "02/01/2006"}}</p>
|
||||
</div>
|
||||
<div class="flex-1 ml-3">
|
||||
<p class="mt-1 text-sm text-gray-900">Ce diagnostic a été retiré</p>
|
||||
</div>
|
||||
|
|
|
@ -27,11 +27,12 @@
|
|||
<div class="flex-1 ml-3">
|
||||
<a href="/app/diags/{{$diags}}" class="mt-1 text-sm text-gray-900">{{.Name}}</a>
|
||||
</div>
|
||||
<div class="flex-1 ml-3">
|
||||
<p class="mt-1 text-sm text-gray-900">{{(timeFrom .Diagdate).Format "02/01/2006"}}</p>
|
||||
</div>
|
||||
<a href="/app/diags/{{$diags}}" target="_blank">
|
||||
<button type="button" class="inline-flex items-center rounded-md border border-gray-300 bg-white px-3 py-2 text-sm font-medium leading-4 text-gray-700 shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-co-blue focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-30">Voir<span class="sr-only"> le diagnostic</span></button>
|
||||
</a>
|
||||
<a href="/app/diags/{{$diags}}/delete" class="inline-flex"><button type="button"
|
||||
class="w-full ml-4 px-4 py-2 border border-transparent text-sm font-medium rounded-2xl shadow-sm text-white bg-co-red hover:bg-co-red focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-co-blue">Retirer</button></a>
|
||||
</a>
|
||||
</li>
|
||||
{{end}}
|
||||
{{if eq .Deleted true}}
|
||||
|
@ -39,6 +40,9 @@
|
|||
<div class="flex-1 ml-3">
|
||||
<p class="mt-1 text-sm text-gray-900">{{.Name}}</p>
|
||||
</div>
|
||||
<div class="flex-1 ml-3">
|
||||
<p class="mt-1 text-sm text-gray-900">{{(timeFrom .Diagdate).Format "02/01/2006"}}</p>
|
||||
</div>
|
||||
<div class="flex-1 ml-3">
|
||||
<p class="mt-1 text-sm text-gray-900">Ce diagnostique a été retiré</p>
|
||||
</div>
|
||||
|
|
|
@ -26,12 +26,13 @@
|
|||
<li class="py-5 px-4 flex">
|
||||
<div class="flex-1 ml-3">
|
||||
<a href="app/diags/{{$diags}}" class="mt-1 text-sm text-gray-900">{{.Name}}</a>
|
||||
<div class="flex-1 ml-3">
|
||||
<p class="mt-1 text-sm text-gray-900">{{(timeFrom .Diagdate).Format "02/01/2006"}}</p>
|
||||
</div>
|
||||
</div>
|
||||
<a href="/app/diags/{{$diags}}" target="_blank">
|
||||
<button type="button" class="inline-flex items-center rounded-md border border-gray-300 bg-white px-3 py-2 text-sm font-medium leading-4 text-gray-700 shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-co-blue focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-30">Voir<span class="sr-only"> le diagnostic</span></button>
|
||||
</a>
|
||||
<a href="/app/diags/{{$diags}}/delete" class="inline-flex"><button type="button"
|
||||
class="w-full ml-4 px-4 py-2 border border-transparent text-sm font-medium rounded-2xl shadow-sm text-white bg-co-red hover:bg-co-red focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-co-blue">Retirer</button></a>
|
||||
</li>
|
||||
{{end}}
|
||||
{{if eq .Deleted true}}
|
||||
|
@ -39,6 +40,9 @@
|
|||
<div class="flex-1 ml-3">
|
||||
<p class="mt-1 text-sm text-gray-900">{{.Name}}</p>
|
||||
</div>
|
||||
<div class="flex-1 ml-3">
|
||||
<p class="mt-1 text-sm text-gray-900">{{(timeFrom .Diagdate).Format "02/01/2006"}}</p>
|
||||
</div>
|
||||
<div class="flex-1 ml-3">
|
||||
<p class="mt-1 text-sm text-gray-900">Ce diagnostique a été retiré</p>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue