mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-05 05:37:50 +02:00
Add documents to decoders (#22)
* Add decoder documents support * Use abstract model for Documents * Increase version * Code cleanup
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user