Compare commits

..

2 commits

Author SHA1 Message Date
e82f563ca3
order cloud provider correctly in offering list
All checks were successful
Build and Deploy / build (push) Successful in 35s
Build and Deploy / deploy (push) Successful in 4s
2025-03-12 10:18:59 +01:00
1a7d1b6c5c
hide offering when provider unlisted 2025-03-12 10:16:09 +01:00

View file

@ -32,7 +32,8 @@
<div class="mb-40">
<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 %}
{% for offering in service.offerings.all|dictsort:"cloud_provider.order" %}
{% 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>