add arrow right

This commit is contained in:
Cayo Puigdefabregas 2022-06-01 13:14:27 +02:00
parent e1e38015ee
commit 96680937e9
1 changed files with 4 additions and 4 deletions

View File

@ -41,10 +41,10 @@
<h3> <h3>
<a href="{{ url_for('inventory.lot_edit', id=lot.id) }}">{{ lot.name }}</a> <a href="{{ url_for('inventory.lot_edit', id=lot.id) }}">{{ lot.name }}</a>
</h3> </h3>
{% if lot.transfer.code and not lot.transfer.user_to.phantom %} {% if lot.transfer.code and lot.transfer.user_to and not lot.transfer.user_to.phantom %}
<span>{{ lot.transfer.code }} -> {{ lot.transfer.user_to.email }}</span> <span>{{ lot.transfer.code }} <i class="bi bi-arrow-right"></i> {{ lot.transfer.user_to.email }}</span>
{% elif lot.transfer.code and not lot.transfer.user_from.phantom %} {% elif lot.transfer.code and lot.transfer.user_from and not lot.transfer.user_from.phantom %}
<span>{{ lot.transfer.user_from.email }} -> {{ lot.transfer.code }}</span> <span>{{ lot.transfer.user_from.email }} <i class="bi bi-arrow-right"></i> {{ lot.transfer.code }}</span>
{% endif %} {% endif %}
</div> </div>