show inactive plans in full pricelist

This commit is contained in:
Tobias Brunner 2025-06-20 15:59:16 +02:00
parent dc1842ef5a
commit 95e3449015
No known key found for this signature in database
2 changed files with 14 additions and 13 deletions

View file

@ -477,8 +477,13 @@
</thead>
<tbody>
{% for row in pricing_data %}
<tr class="servala-row {% if show_price_comparison and row.external_comparisons or row.internal_comparisons %}has-comparisons{% endif %}">
<td>{{ row.compute_plan }}</td>
<tr class="servala-row {% if not row.is_active %}text-muted opacity-50{% endif %} {% if show_price_comparison and row.external_comparisons or row.internal_comparisons %}has-comparisons{% endif %}">
<td>
{{ row.compute_plan }}
{% if not row.is_active %}
<span class="badge bg-secondary ms-1" title="This compute plan is not active and not available for new public offerings.">Inactive plan</span>
{% endif %}
</td>
<td>{{ row.cloud_provider }}</td>
<td>{{ row.vcpus }}</td>
<td>{{ row.ram }}</td>