trajets garantis + motif
This commit is contained in:
parent
b3f7105ddb
commit
2b0fb68c0b
|
@ -68,6 +68,7 @@
|
|||
{{ else if eq .Status "CANCELLED"}}
|
||||
<span class="p-1 text-xs bg-co-red text-white rounded-xl">Annulé</span>
|
||||
{{ 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 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}}">
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
{{define "content"}}
|
||||
<div class="max-w-7xl mx-auto px-4 sm:px-6 md:px-8">
|
||||
<h1 class="text-2xl font-semibold text-gray-900">
|
||||
Transport solidaire
|
||||
Transport solidaire
|
||||
</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"}}
|
||||
<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"}}
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
<option value="Santé">Santé</option>
|
||||
<option value="Insertion">Insertion</option>
|
||||
<option value="Administratif">Administratif</option>
|
||||
<option selected="selected" value="Autre">Autre </option>
|
||||
<option selected="selected" value="">Autre </option>
|
||||
</select>
|
||||
</div>
|
||||
{{template "submit_with_sms"
|
||||
|
|
Loading…
Reference in New Issue