show inactive plans in full pricelist
This commit is contained in:
parent
dc1842ef5a
commit
95e3449015
2 changed files with 14 additions and 13 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue