toulouse-2022: [parsifal] manage capacity in catalog (#86840)
gitea/publik-base-theme/pipeline/head This commit looks good
Details
gitea/publik-base-theme/pipeline/head This commit looks good
Details
This commit is contained in:
parent
8a71678e93
commit
c80f8a9d31
|
@ -3,7 +3,8 @@
|
|||
&--item-name,
|
||||
&--item-unit,
|
||||
&--item-location,
|
||||
&--item-date {
|
||||
&--item-date,
|
||||
&--item-no-capacity {
|
||||
font-size: 90%;
|
||||
margin-left: 10px;
|
||||
|
||||
|
@ -23,6 +24,7 @@
|
|||
&--item-name::before { content: "\f007"; }
|
||||
&--item-location::before { content: "\f041"; }
|
||||
&--item-date::before { content: "\f133"; }
|
||||
&--item-no-capacity::before { content: "\f254"; color: $color-warning;}
|
||||
}
|
||||
|
||||
.theme-basket {
|
||||
|
|
|
@ -43,6 +43,11 @@
|
|||
<div class="theme-activities--item-type">{{ item.criterias.type.data|get:item.criterias.type.order.0 }}</div>
|
||||
<div class="theme-activities--item-location">{{ item.place.text }}</div>
|
||||
<div class="theme-activities--item-date">Du {{ item.unit.dateStart|date:"d/m/Y" }} au {{ item.unit.dateEnd|date:"d/m/Y" }}</div>
|
||||
{% if item.place.capacityInfo.controlOK == False %}
|
||||
<div class="theme-activities--item-no-capacity">
|
||||
Plus de place, mais vous pouvez vous inscrire en liste d'attente
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="theme-activities--item-details">
|
||||
<p class"theme-activities--item-description">{{ item.activity.activityPortail.blocNoteList.0.note }}</p>
|
||||
|
@ -54,7 +59,13 @@
|
|||
{% endfor %}.
|
||||
</p>
|
||||
</div>
|
||||
<a class="pk-button" href="{{ eservices_url }}inscription-loisirs/tryauth?activity_id={{ item.activity.id }}&unit_id={{ item.unit.id }}&place_id={{ item.place.id }}&catalogue=Oui&cancelurl={{ portal_url }}mes-activites/">Inscription</a>
|
||||
<a class="pk-button" href="{{ eservices_url }}inscription-loisirs/tryauth?activity_id={{ item.activity.id }}&unit_id={{ item.unit.id }}&place_id={{ item.place.id }}&resume={{ resume }}{{ item.text }} // Du {{ item.unit.dateStart|date:"d/m/Y" }} au {{ item.unit.dateEnd|date:"d/m/Y" }}&catalogue=Oui{% if item.place.capacityInfo.controlOK == False %}&liste_attente=Oui{% endif %}&cancelurl={{ portal_url }}mes-activites/">
|
||||
{% if item.place.capacityInfo.controlOK == False %}
|
||||
Liste d'attente
|
||||
{% else %}
|
||||
Inscription
|
||||
{% endif %}
|
||||
</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
<div class="theme-activities--pagination">
|
||||
|
|
Loading…
Reference in New Issue