Add a tooltip with the date to pending orders

This commit is contained in:
Raphael Michel
2019-10-17 17:27:33 +02:00
parent da9c30089a
commit 33cee65d7f

View File

@@ -4,7 +4,8 @@
{% if order.require_approval %} {% if order.require_approval %}
<span class="label label-warning {{ class }}">{% trans "Approval pending" %}</span> <span class="label label-warning {{ class }}">{% trans "Approval pending" %}</span>
{% else %} {% else %}
<span class="label label-warning {{ class }}">{% trans "Pending" %}</span> <span data-toggle="tooltip" title="{{ order.expires|date:"SHORT_DATETIME_FORMAT" }}"
class="label label-warning {{ class }}">{% trans "Pending" %}</span>
{% endif %} {% endif %}
{% elif order.status == "p" %} {% elif order.status == "p" %}
{% if order.count_positions == 0 %} {% if order.count_positions == 0 %}