feat: unify how versions are presented in tables
Browse files- templates/attestations.html +1 -1
- templates/policy_results.html +1 -1
- templates/products.html +1 -1
templates/attestations.html
CHANGED
|
@@ -104,7 +104,7 @@
|
|
| 104 |
</td>
|
| 105 |
<td>
|
| 106 |
{% if attestation.product_version %}
|
| 107 |
-
<span class="badge bg-secondary">
|
| 108 |
{% else %}
|
| 109 |
<span class="text-muted">-</span>
|
| 110 |
{% endif %}
|
|
|
|
| 104 |
</td>
|
| 105 |
<td>
|
| 106 |
{% if attestation.product_version %}
|
| 107 |
+
<span class="badge bg-secondary">{{ attestation.product_version }}</span>
|
| 108 |
{% else %}
|
| 109 |
<span class="text-muted">-</span>
|
| 110 |
{% endif %}
|
templates/policy_results.html
CHANGED
|
@@ -153,7 +153,7 @@
|
|
| 153 |
</td>
|
| 154 |
<td>
|
| 155 |
{% if r.product_version %}
|
| 156 |
-
<span class="badge bg-secondary">
|
| 157 |
{% else %}
|
| 158 |
<span class="text-muted">-</span>
|
| 159 |
{% endif %}
|
|
|
|
| 153 |
</td>
|
| 154 |
<td>
|
| 155 |
{% if r.product_version %}
|
| 156 |
+
<span class="badge bg-secondary">{{ r.product_version }}</span>
|
| 157 |
{% else %}
|
| 158 |
<span class="text-muted">-</span>
|
| 159 |
{% endif %}
|
templates/products.html
CHANGED
|
@@ -77,7 +77,7 @@
|
|
| 77 |
{% for p in products %}
|
| 78 |
<tr>
|
| 79 |
<td>{{ p.product }}</td>
|
| 80 |
-
<td>{{ p.version }}</td>
|
| 81 |
{% if is_admin %}
|
| 82 |
<td>{{ p.username or '' }}</td>
|
| 83 |
{% endif %}
|
|
|
|
| 77 |
{% for p in products %}
|
| 78 |
<tr>
|
| 79 |
<td>{{ p.product }}</td>
|
| 80 |
+
<td><span class="badge bg-secondary">{{ p.version }}</span></td>
|
| 81 |
{% if is_admin %}
|
| 82 |
<td>{{ p.username or '' }}</td>
|
| 83 |
{% endif %}
|