Add documents to decoders (#22)

* Add decoder documents support
* Use abstract model for Documents
* Increase version
* Code cleanup
This commit is contained in:
2023-10-01 00:03:41 +02:00
committed by GitHub
parent 9483648a1f
commit 5d536ce568
16 changed files with 161 additions and 60 deletions

View File

@@ -17,18 +17,18 @@
<tbody>
{% if d.logo %}
<tr>
<th class="th-35" scope="row">Logo</th>
<th class="w-25" scope="row">Logo</th>
<td><img style="max-height: 48px" src="{{ d.logo.url }}" /></td>
</tr>
{% endif %}
{% if d.website %}
<tr>
<th class="th-35" scope="row">Website</th>
<th class="w-25" scope="row">Website</th>
<td><a href="{{ d.website }}" target="_blank"><i class="bi bi-box-arrow-up-right"></i></a></td>
</tr>
{% endif %}
<tr>
<th class="th-35" scope="row">Category</th>
<th class="w-25" scope="row">Category</th>
<td>{{ d.category | title }}</td>
</tr>
</tbody>