Rendering fixes for tag detail view
This commit is contained in:
parent
48e963bef1
commit
e9a50e1417
1 changed files with 10 additions and 0 deletions
|
@ -64,6 +64,11 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for distributor in tag.distributor_set.all %}
|
{% for distributor in tag.distributor_set.all %}
|
||||||
<tr>
|
<tr>
|
||||||
|
<td class="icon">
|
||||||
|
{% if distributor.icon %}
|
||||||
|
<img src="{{ distributor.icon.url }}" title="{{ distributor.name }}">
|
||||||
|
{% endif %}
|
||||||
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href="{% url 'distributor-detail' distributor.id %}" title="{{ distributor.description }}">{{ distributor.name }}</a>
|
<a href="{% url 'distributor-detail' distributor.id %}" title="{{ distributor.description }}">{{ distributor.name }}</a>
|
||||||
</td>
|
</td>
|
||||||
|
@ -84,6 +89,11 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for manufacturer in tag.manufacturer_set.all %}
|
{% for manufacturer in tag.manufacturer_set.all %}
|
||||||
<tr>
|
<tr>
|
||||||
|
<td class="logo">
|
||||||
|
{% if manufacturer.icon %}
|
||||||
|
<img src="{{ manufacturer.icon.url }}">
|
||||||
|
{% endif %}
|
||||||
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href="{% url 'manufacturer-detail' manufacturer.id %}" title="{{ manufacturer.description }}">{{ manufacturer.name }}</a>
|
<a href="{% url 'manufacturer-detail' manufacturer.id %}" title="{{ manufacturer.description }}">{{ manufacturer.name }}</a>
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Reference in a new issue