hide offering when provider unlisted
This commit is contained in:
parent
3f6fc4a86e
commit
1a7d1b6c5c
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,7 @@
|
|||
<h3 class="fw-semibold mb-12">Cloud Providers</h3>
|
||||
<ul class="list-unstyled space-y-12 fs-19 ps-0">
|
||||
{% for offering in service.offerings.all %}
|
||||
{% if not offering.cloud_provider.disable_listing %}
|
||||
<li>
|
||||
<a class="d-flex align-items-center text-gray-500 h-32 lh-32" href="{% url 'services:offering_detail' offering.cloud_provider.slug offering.service.slug %}">
|
||||
<span class="pr-10">
|
||||
|
@ -43,6 +44,7 @@
|
|||
<span>{{ offering.cloud_provider.name }}</span>
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue