Add a draft tag to unpublished items and minor improvements (#46)

* Add a draft tag to unpublished items

* Add X-Cache-Hit header

* Expose decoder interface in roster cards

* Manage decoder interface set to None
This commit is contained in:
2025-01-20 18:24:20 +01:00
committed by GitHub
parent f914c79786
commit 0413c1c5ab
11 changed files with 93 additions and 33 deletions

View File

@@ -81,9 +81,14 @@
<tr>
<th colspan="2" scope="row">
Consist
{% if consist.company.freelance %}
<span class="mt-1 float-end badge text-bg-secondary">Freelance</span>
{% endif %}
<div class="float-end">
{% if consist.company.freelance %}
<span class="badge text-bg-secondary">Freelance</span>
{% endif %}
{% if not consist.published %}
<span class="badge text-bg-warning">Draft</span>
{% endif %}
</div>
</th>
</tr>
</thead>