55 lines
2.6 KiB
HTML
55 lines
2.6 KiB
HTML
{{* -*- brindille -*- *}}
|
|
{{:assign var="page.title" value="Matériel à disposition"}}
|
|
{{:assign var="page.path" value="./equipment.html"}}
|
|
|
|
{{if $_GET.fonc=="save_resa"}}
|
|
{{** No header allowed to download the PDF *}}
|
|
{{*:assign var=page.title value="Matériel réservé ! Voici votre convention de prêt/location."*}}
|
|
{{else}}
|
|
{{:include file="./_head.html" title=$page.title|remove_leading_number}}
|
|
{{:assign var="custom." _title="🧰 Matériel" _url=$page.path}}
|
|
{{if !$_GET.fonc || $_GET.fonc=="inv2" || $_GET.fonc=="inv3"}}
|
|
{{:assign var="page" title="Matériel à disposition" path="./equipment.html"}}
|
|
{{elseif $_GET.fonc=="voir"}}
|
|
{{:assign var="page" title="Détails du matériel" path="./equipment.html"}}
|
|
{{:assign var="custom." _title="🔎 Détails" _url="#"}}
|
|
{{elseif $_GET.fonc=="resa" || $_GET.fonc=="confirm_resa"}}
|
|
{{:assign var="page" title="Réservation du matériel" path="./equipment.html"}}
|
|
{{:assign var="custom." _title="🗓️ Réservation" _url="#"}}
|
|
{{/if}}
|
|
{{:include file="./_breadcrumbs.html"}} {{* custom au lieu de parent car pas dans la base SQL *}}
|
|
{{/if}}
|
|
<h1>{{$page.title|remove_leading_number}}</h1>
|
|
<p>Le matériel proposé ici provient soit de dons/achats et appartient à l'association soit de prêts ou mis à disposition pour la communauté.<br/>
|
|
Dans le cas de matériel mis à disposition, celui-ci n'appartient pas à l'association : cette dernière va simplement vous mettre en relation avec la personne à qui il appartient.
|
|
</p>
|
|
|
|
{{if $_GET.ok}}
|
|
{{if $_GET.fonc == "confirm_resa" && !$_GET.rid }}
|
|
<p class="block confirm">Réservation effectuée</p>
|
|
{{/if}}
|
|
{{/if}}
|
|
|
|
{{if !$_GET.fonc}}
|
|
{{:include file="/equipment/_web_inventory.html" parent=$page.path}}
|
|
{{*elseif $_GET.fonc=="inv2"}}
|
|
{{:include file="/equipment/_web_inventory2.html" parent=$page.path*}}
|
|
{{elseif $_GET.fonc=="inv3"}}
|
|
{{:include file="/equipment/_web_inventory3.html" parent=$page.path}}
|
|
{{elseif $_GET.fonc=="voir"}}
|
|
{{:include file="/equipment/_web_view.html" parent=$page.path}}
|
|
{{elseif $_GET.fonc=="resa"}}
|
|
{{:include file="/equipment/_web_resa.html" parent=$page.path}}
|
|
{{elseif $_GET.fonc=="resadel"}}
|
|
{{:include file="/equipment/_web_resadel.html" keep="_GET.keys" parent=$page.path}}
|
|
{{elseif $_GET.fonc=="confirm_resa"}}
|
|
{{if $_GET.ok}}
|
|
{{:include file="/equipment/_web_contract.html" parent=$page.path}}
|
|
{{/if}}
|
|
{{elseif $_GET.fonc=="save_resa"}}
|
|
{{:include file="/equipment/_web_saved_resa.html" parent=$page.path}}
|
|
{{else}}
|
|
{{:include file="/equipment/_web_inventory.html" parent=$page.path keep="cat_key,prop"}}
|
|
{{/if}}
|
|
|
|
{{:include file="./_foot.html"}} |