only show plans when available
This commit is contained in:
parent
63ac43a045
commit
12fdf7ed87
1 changed files with 8 additions and 0 deletions
|
@ -142,6 +142,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<!-- Plans -->
|
<!-- Plans -->
|
||||||
|
{% if offering.plans.all %}
|
||||||
<div class="pt-24" id="plans" style="scroll-margin-top: 30px;">
|
<div class="pt-24" id="plans" style="scroll-margin-top: 30px;">
|
||||||
<h3 class="fs-24 fw-semibold lh-1 mb-12">Available Plans</h3>
|
<h3 class="fs-24 fw-semibold lh-1 mb-12">Available Plans</h3>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
@ -179,6 +180,13 @@
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
{% else %}
|
||||||
|
<div class="col-12" id="interest" style="scroll-margin-top: 30px;">
|
||||||
|
<h4 class="mb-3">I'm interested in this offering</h4>
|
||||||
|
{% load contact_tags %}
|
||||||
|
{% embedded_contact_form source="Offering Interest" service=offering.service offering_id=offering.id %}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if offering.plans.exists %}
|
{% if offering.plans.exists %}
|
||||||
<div class="pt-40">
|
<div class="pt-40">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue