variant of link links to variants page

This commit is contained in:
Oliver Walters 2020-09-03 00:00:03 +10:00
parent 303572bc03
commit b89588ffb7

View File

@ -18,7 +18,7 @@
{% endif %} {% endif %}
{% if part.variant_of %} {% if part.variant_of %}
<div class='alert alert-info alert-block'> <div class='alert alert-info alert-block'>
{% trans "This part is a variant of" %} <b><a href="{% url 'part-detail' part.variant_of.id %}">{{ part.variant_of.full_name }}</a></b> {% trans "This part is a variant of" %} <b><a href="{% url 'part-variants' part.variant_of.id %}">{{ part.variant_of.full_name }}</a></b>
</div> </div>
{% endif %} {% endif %}