trajets garantis + motif
This commit is contained in:
parent
b3f7105ddb
commit
2b0fb68c0b
|
@ -68,6 +68,7 @@
|
||||||
{{ else if eq .Status "CANCELLED"}}
|
{{ else if eq .Status "CANCELLED"}}
|
||||||
<span class="p-1 text-xs bg-co-red text-white rounded-xl">Annulé</span>
|
<span class="p-1 text-xs bg-co-red text-white rounded-xl">Annulé</span>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{if and .Data.motivation (ne .Data.motivation "")}}<div class="mt-4"><span class="text-xs p-2 bg-co-green text-white rounded-2xl">Trajet garanti : {{.Data.motivation}}</span></div>{{end}}
|
||||||
</td>
|
</td>
|
||||||
<td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm sm:pl-6">
|
<td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm sm:pl-6">
|
||||||
<a class="text-co-blue" href="/app/solidarity-transport/bookings/{{.Id}}">
|
<a class="text-co-blue" href="/app/solidarity-transport/bookings/{{.Id}}">
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
<h1 class="text-2xl font-semibold text-gray-900">
|
<h1 class="text-2xl font-semibold text-gray-900">
|
||||||
Transport solidaire
|
Transport solidaire
|
||||||
</h1>
|
</h1>
|
||||||
|
{{if and .ViewState.booking.Data.motivation (ne .ViewState.booking.Data.motivation "")}}<div class="mt-4"><span class="text-sm p-2 bg-co-green text-white rounded-2xl">Trajet garanti : {{.ViewState.booking.Data.motivation}}</span></div>{{end}}
|
||||||
{{ if eq .ViewState.booking.Status "WAITING_CONFIRMATION"}}
|
{{ if eq .ViewState.booking.Status "WAITING_CONFIRMATION"}}
|
||||||
<div class="mt-4"><span class="p-2 text-sm bg-gray-300 rounded-2xl px-4">Attente confirmation</span></div>
|
<div class="mt-4"><span class="p-2 text-sm bg-gray-300 rounded-2xl px-4">Attente confirmation</span></div>
|
||||||
{{ else if eq .ViewState.booking.Status "VALIDATED"}}
|
{{ else if eq .ViewState.booking.Status "VALIDATED"}}
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
<option value="Santé">Santé</option>
|
<option value="Santé">Santé</option>
|
||||||
<option value="Insertion">Insertion</option>
|
<option value="Insertion">Insertion</option>
|
||||||
<option value="Administratif">Administratif</option>
|
<option value="Administratif">Administratif</option>
|
||||||
<option selected="selected" value="Autre">Autre </option>
|
<option selected="selected" value="">Autre </option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
{{template "submit_with_sms"
|
{{template "submit_with_sms"
|
||||||
|
|
Loading…
Reference in New Issue