This commit is contained in:
2023-11-11 15:21:05 +01:00
parent 1d3bb9e9df
commit 933158108a
379 changed files with 33788 additions and 3030 deletions

View File

@@ -24,6 +24,7 @@
<li>&nbsp;</li>
<li>&nbsp;</li>
<li>&nbsp;</li>
<li>Réservé par</li>
<li>&nbsp;</li>
<li>Qui l'achète ?</li>
</ul>
@@ -32,14 +33,24 @@
<li>
<figure class="figure">
<img src="{{this.photo}}" class="figure-img img-fluid rounded" alt="Pas d'image" ob>
<figcaption class="figure-caption text-center">{{this.libelle}}</figcaption>
<figcaption class="figure-caption">{{this.libelle}}</figcaption>
</figure>
</li>
<li>{{this.prix}} €</li>
<li><a href="{{this.lien}}" target="_blank">Voir le produit</a></li>
<li>{{#if this.acheteur}}Réservé par {{this.acheteur}}
<li>{{#if this.demandeur}}{{this.demandeur}}
{{else}}<a href="/reserve?id={{this.id}}" class="btn btn-primary">Le réserver</a>{{/if}}
</li>
<li>
<div class="form-check form-switch">
{{#if this.achete}}
<input class="form-check-input" type="checkbox" id="flexSwitchCheckCheckedDisabled-{{this.id}}" checked disabled>
<label class="form-check-label" for="flexSwitchCheckCheckedDisabled-{{this.id}}">Déja acheté</label>
{{else}}
<input class="form-check-input" type="checkbox" id="flexSwitchCheckDisabled-{{this.id}}" disabled>
<label class="form-check-label" for="flexSwitchCheckDisabled-{{this.id}}">A acheter</label>
{{/if}}
</div>
<li>{{#if this.responsable}}{{this.responsable}}{{/if}}</li>
</ul>
{{/each}}