dn-scribe commited on
Commit
db45cd7
·
1 Parent(s): f9a9974

feat: unify how versions are presented in tables

Browse files
templates/attestations.html CHANGED
@@ -104,7 +104,7 @@
104
  </td>
105
  <td>
106
  {% if attestation.product_version %}
107
- <span class="badge bg-secondary">v{{ attestation.product_version }}</span>
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">v{{ r.product_version }}</span>
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 %}