Make description of location, beverages and food optional
This commit is contained in:
parent
f0684901ba
commit
3d188e2cc7
@ -144,8 +144,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- cards section -->
|
<!-- cards section -->
|
||||||
<div class="row align-items-md-stretch text-break" id="info">
|
<div class="row d-flex justify-content-around align-items-stretch text-break" id="info">
|
||||||
<div class="col-lg-3 col-md-6 mb-lg-0 mb-md-4 mb-3">
|
<div class="col-lg-3 col-md-6 mb-lg-0 mb-md-4 mb-3 flex-grow-1">
|
||||||
<div class="h-100 p-3 text-white bg-dark rounded-3">
|
<div class="h-100 p-3 text-white bg-dark rounded-3">
|
||||||
<h2><i class="bi-clock display-2"></i></h2>
|
<h2><i class="bi-clock display-2"></i></h2>
|
||||||
{% if next_event.date %}
|
{% if next_event.date %}
|
||||||
@ -164,21 +164,26 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-lg-3 col-md-6 mb-lg-0 mb-md-4 mb-3">
|
{% if next_event.location %}
|
||||||
|
<div class="col-lg-3 col-md-6 mb-lg-0 mb-md-4 mb-3 flex-grow-1">
|
||||||
<div class="h-100 p-3 text-white bg-dark rounded-3">
|
<div class="h-100 p-3 text-white bg-dark rounded-3">
|
||||||
<h2><i class="bi-pin-map display-2"></i></h2>
|
<h2><i class="bi-pin-map display-2"></i></h2>
|
||||||
<p class="fs-2 fw-bold">{{ next_event.location|linebreaksbr }}</p>
|
<p class="fs-2 fw-bold">{{ next_event.location|linebreaksbr }}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<div class="col-lg-3 col-md-6 mb-lg-0 mb-md-4 mb-3">
|
{% if next_event.beverages %}
|
||||||
|
<div class="col-lg-3 col-md-6 mb-lg-0 mb-md-4 mb-3 flex-grow-1">
|
||||||
<div class="h-100 p-3 text-white bg-dark rounded-3">
|
<div class="h-100 p-3 text-white bg-dark rounded-3">
|
||||||
<h2><i class="bi-cup-straw display-2"></i></h2>
|
<h2><i class="bi-cup-straw display-2"></i></h2>
|
||||||
<p class="fs-2 fw-bold">{{ next_event.beverages|linebreaksbr }}</p>
|
<p class="fs-2 fw-bold">{{ next_event.beverages|linebreaksbr }}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<div class="col-lg-3 col-md-6 mb-lg-0 mb-md-4 mb-3">
|
{% if next_event.food %}
|
||||||
|
<div class="col-lg-3 col-md-6 mb-lg-0 mb-md-4 mb-3 flex-grow-1">
|
||||||
<div class="h-100 p-3 text-white bg-dark rounded-3">
|
<div class="h-100 p-3 text-white bg-dark rounded-3">
|
||||||
<h2>
|
<h2>
|
||||||
<span class="material-symbols-outlined display-2">lunch_dining
|
<span class="material-symbols-outlined display-2">lunch_dining
|
||||||
@ -187,6 +192,7 @@
|
|||||||
<p class="fs-2 fw-bold">{{ next_event.food|linebreaksbr }}</p>
|
<p class="fs-2 fw-bold">{{ next_event.food|linebreaksbr }}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
Loading…
Reference in New Issue
Block a user