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

This commit is contained in:
Tobias Brunner 2025-03-12 10:18:59 +01:00
parent 1a7d1b6c5c
commit e82f563ca3
No known key found for this signature in database

View file

@ -32,7 +32,7 @@
<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 %}">