2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 03:00:54 +00:00

replace i html tags

This commit is contained in:
Matthias
2021-09-02 00:18:47 +02:00
parent 6a420fd95c
commit 0ebc45e834
27 changed files with 45 additions and 45 deletions

View File

@ -300,7 +300,7 @@
{% if item.location %}
<td><a href="{% url 'stock-location-detail' item.location.id %}">{{ item.location.name }}</a></td>
{% else %}
<td><i>{% trans "No location set" %}</i></td>
<td><em>{% trans "No location set" %}</em></td>
{% endif %}
</tr>
{% endif %}
@ -367,7 +367,7 @@
{% if item.supplier_part.manufacturer_part.manufacturer %}
<td><a href="{% url 'company-detail' item.supplier_part.manufacturer_part.manufacturer.id %}">{{ item.supplier_part.manufacturer_part.manufacturer.name }}</a></td>
{% else %}
<td><i>{% trans "No manufacturer set" %}</i></td>
<td><em>{% trans "No manufacturer set" %}</em></td>
{% endif %}
</tr>
@ -414,7 +414,7 @@
{% if item.stocktake_date %}
<td>{{ item.stocktake_date }} <span class='badge'>{{ item.stocktake_user }}</span></td>
{% else %}
<td><i>{% trans "No stocktake performed" %}</i></td>
<td><em>{% trans "No stocktake performed" %}</em></td>
{% endif %}
</tr>
<tr>

View File

@ -20,7 +20,7 @@ the top level 'Stock' location.
<ul class='list-group'>
{% for loc in location.children.all %}
<li class='list-group-item'><strong>{{ loc.name }}</strong> - <i>{{ loc.description}}</i></li>
<li class='list-group-item'><strong>{{ loc.name }}</strong> - <em>{{ loc.description}}</em></li>
{% endfor %}
</ul>
{% endif %}
@ -36,7 +36,7 @@ If this location is deleted, these items will be moved to the top level 'Stock'
<ul class='list-group'>
{% for item in location.stock_items.all %}
<li class='list-group-item'><strong>{{ item.part.full_name }}</strong> - <i>{{ item.part.description }}</i><span class='badge'>{% decimal item.quantity %}</span></li>
<li class='list-group-item'><strong>{{ item.part.full_name }}</strong> - <em>{{ item.part.description }}</em><span class='badge'>{% decimal item.quantity %}</span></li>
{% endfor %}
</ul>
{% endif %}

View File

@ -24,7 +24,7 @@
{% for item in stock_items %}
<tr id='stock-row-{{ item.id }}' class='error'>
<td>{% include "hover_image.html" with image=item.part.image hover=True %}
{{ item.part.full_name }} <small><i>{{ item.part.description }}</i></small></td>
{{ item.part.full_name }} <small><em>{{ item.part.description }}</em></small></td>
<td>{{ item.location.pathstring }}</td>
<td>{% decimal item.quantity %}</td>
<td>

View File

@ -5,7 +5,7 @@
<div class='alert alert-block alert-info'>
<strong>{% trans "Convert Stock Item" %}</strong><br>
{% blocktrans with part=item.part %}This stock item is current an instance of <i>{{part}}</i>{% endblocktrans %}<br>
{% blocktrans with part=item.part %}This stock item is current an instance of <em>{{part}}</em>{% endblocktrans %}<br>
{% trans "It can be converted to one of the part variants listed below." %}
</div>