edit vehicles-list to fix viewing status problems
This commit is contained in:
parent
0f4d0e1e5b
commit
b89b8064c5
|
@ -48,6 +48,14 @@
|
||||||
<span class="mt-1 p-1 bg-gray-500 text-white text-xs font-bold rounded-xl" >
|
<span class="mt-1 p-1 bg-gray-500 text-white text-xs font-bold rounded-xl" >
|
||||||
Disponible
|
Disponible
|
||||||
</span>
|
</span>
|
||||||
|
{{else if eq .Status 1 }}
|
||||||
|
<span class="mt-1 p-1 bg-co-blue text-white text-xs font-bold rounded-xl" >
|
||||||
|
A venir
|
||||||
|
</span>
|
||||||
|
{{else if eq .Status 0 }}
|
||||||
|
<span class="mt-1 p-1 bg-co-green text-white text-xs font-bold rounded-xl" >
|
||||||
|
En cours
|
||||||
|
</span>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
{{else if gt (len .Bookings) 1}}
|
{{else if gt (len .Bookings) 1}}
|
||||||
|
|
Loading…
Reference in New Issue