Moar icons plz

This commit is contained in:
Oliver Walters 2020-04-05 20:49:05 +10:00
parent 7b494c08ec
commit 84b1960c7b

View File

@ -33,7 +33,7 @@
</tr> </tr>
{% endif %} {% endif %}
<tr> <tr>
<td></td> <td><span class='fas fa-info-circle'></span></td>
<td><b>{% trans "Description" %}</b></td> <td><b>{% trans "Description" %}</b></td>
<td>{{ part.description }}</td> <td>{{ part.description }}</td>
</tr> </tr>
@ -46,11 +46,20 @@
{% endif %} {% endif %}
{% if part.keywords %} {% if part.keywords %}
<tr> <tr>
<td></td> <td><span class='fas fa-key'></span></td>
<td><b>{% trans "Keywords" %}</b></td> <td><b>{% trans "Keywords" %}</b></td>
<td>{{ part.keywords }}</td> <td>{{ part.keywords }}</td>
</tr> </tr>
{% endif %} {% endif %}
<tr>
<td><span class='fas fa-sitemap'></span></td>
<td><b>{% trans "Category" %}</b></td>
<td>
{% if part.category %}
<a href="{% url 'category-detail' part.category.id %}">{{ part.category.pathstring }}</a>
{% endif %}
</td>
</tr>
{% if part.URL %} {% if part.URL %}
<tr> <tr>
<td><span class='fas fa-link'></span></td> <td><span class='fas fa-link'></span></td>
@ -58,15 +67,6 @@
<td><a href="{{ part.URL }}">{{ part.URL }}</a></td> <td><a href="{{ part.URL }}">{{ part.URL }}</a></td>
</tr> </tr>
{% endif %} {% endif %}
<tr>
<td></td>
<td><b>{% trans "Category" %}</b></td>
<td>
{% if part.category %}
<a href="{% url 'category-detail' part.category.id %}">{{ part.category.pathstring }}</a>
{% endif %}
</td>
</tr>
{% if part.default_location %} {% if part.default_location %}
<tr> <tr>
<td><span class='fas fa-map-marker-alt'></span></td> <td><span class='fas fa-map-marker-alt'></span></td>
@ -90,7 +90,7 @@
</tr> </tr>
{% if part.minimum_stock > 0 %} {% if part.minimum_stock > 0 %}
<tr> <tr>
<td></td> <td><span class='fas fa-greater-than-equal'></span></td>
<td><b>{% trans "Minimum Stock" %}</b></td> <td><b>{% trans "Minimum Stock" %}</b></td>
<td>{{ part.minimum_stock }}</td> <td>{{ part.minimum_stock }}</td>
</tr> </tr>