fix labels in snapshots

This commit is contained in:
Andy Miller
2025-10-18 19:10:42 -06:00
parent 419fcc3f13
commit e81ed34dd6
4 changed files with 63 additions and 21 deletions

View File

@@ -36,7 +36,14 @@
<td class="checkbox-cell">
<input type="checkbox" name="snapshots[]" value="{{ snapshot.id }}" form="snapshot-delete-form" />
</td>
<td><code>{{ snapshot.id }}</code></td>
<td>
{% if snapshot.label %}
<strong>{{ snapshot.label }}</strong><br>
<code>{{ snapshot.id }}</code>
{% else %}
<code>{{ snapshot.id }}</code>
{% endif %}
</td>
<td>{{ version ?: "PLUGIN_ADMIN.UNKNOWN"|t }}</td>
<td>
{% if snapshot.created_at %}