Add manufacturers and distributors to Website

This commit is contained in:
2021-11-14 20:38:19 +01:00
parent 3bbc05db1e
commit 01124d9904
9 changed files with 573 additions and 3 deletions

View File

@@ -50,7 +50,7 @@
</td>
<td class="align-middle" >
{% if component.manufacturer %}
{{component.manufacturer.name}}
<a href="{% url 'parts-manufacturers-detail' uuid=component.manufacturer.id %}" class="link-primary text-decoration-none">{{component.manufacturer.name}}</a>
{% if component.manufacturer.image %}
<img src="{{component.manufacturer.image.url}}" class="component-img-small">
{% endif %}