mirror of
https://github.com/pretix/pretix.git
synced 2026-05-21 17:54:08 +00:00
improve status icon
This commit is contained in:
@@ -4,11 +4,11 @@
|
|||||||
{% if order.status == "n" %}
|
{% if order.status == "n" %}
|
||||||
{% if order.require_approval %}
|
{% if order.require_approval %}
|
||||||
<span class="text-blob-warning">
|
<span class="text-blob-warning">
|
||||||
<i class="status-dot fa fa-exclamation-circle" aria-hidden="true"></i> {% trans "Approval pending" %}
|
<i class="status-dot fa fa-exclamation-triangle" aria-hidden="true"></i> {% trans "Approval pending" %}
|
||||||
</span>
|
</span>
|
||||||
{% elif order.total == 0 %}
|
{% elif order.total == 0 %}
|
||||||
<span class="text-blob-warning">
|
<span class="text-blob-warning">
|
||||||
<i class="status-dot fa fa-exclamation-circle" aria-hidden="true"></i> {% trans "Confirmation pending" context "order state" %}
|
<i class="status-dot fa fa-exclamation-triangle" aria-hidden="true"></i> {% trans "Confirmation pending" context "order state" %}
|
||||||
</span>
|
</span>
|
||||||
{% elif event.settings.payment_pending_hidden %}
|
{% elif event.settings.payment_pending_hidden %}
|
||||||
{# intentionally left blank #}
|
{# intentionally left blank #}
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
</span>
|
</span>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="text-blob-warning">
|
<span class="text-blob-warning">
|
||||||
<i class="status-dot fa fa-exclamation-circle" aria-hidden="true"></i> {% trans "Payment pending" %}
|
<i class="status-dot fa fa-exclamation-triangle" aria-hidden="true"></i> {% trans "Payment pending" %}
|
||||||
</span>
|
</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% elif order.status == "p" %}
|
{% elif order.status == "p" %}
|
||||||
@@ -28,19 +28,19 @@
|
|||||||
</span>
|
</span>
|
||||||
{% elif order.total == 0 %}
|
{% elif order.total == 0 %}
|
||||||
<span class="text-blob-success">
|
<span class="text-blob-success">
|
||||||
<i class="status-dot fa fa-check-circle" aria-hidden="true"></i> {% trans "Confirmed" context "order state" %}
|
<i class="status-dot fa fa-check" aria-hidden="true"></i> {% trans "Confirmed" context "order state" %}
|
||||||
</span>
|
</span>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="text-blob-success">
|
<span class="text-blob-success">
|
||||||
<i class="status-dot fa fa-check-circle" aria-hidden="true"></i> {% trans "Paid" %}
|
<i class="status-dot fa fa-check" aria-hidden="true"></i> {% trans "Paid" %}
|
||||||
</span>
|
</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% elif order.status == "e" %}
|
{% elif order.status == "e" %}
|
||||||
<span class="text-blob-danger">
|
<span class="text-blob-danger">
|
||||||
<i class="status-dot fa fa-minus-circle" aria-hidden="true"></i> {% trans "Expired" %}
|
<i class="status-dot fa fa-minus" aria-hidden="true"></i> {% trans "Expired" %}
|
||||||
</span>
|
</span>
|
||||||
{% elif order.status == "c" %}
|
{% elif order.status == "c" %}
|
||||||
<span class="text-blob-danger">
|
<span class="text-blob-danger">
|
||||||
<i class="status-dot fa fa-times-circle" aria-hidden="true"></i> {% trans "Canceled" %}
|
<i class="status-dot fa fa-times" aria-hidden="true"></i> {% trans "Canceled" %}
|
||||||
</span>
|
</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -30,9 +30,6 @@ $body-bg: #f5f5f5 !default;
|
|||||||
float: left;
|
float: left;
|
||||||
margin-right: .25em;
|
margin-right: .25em;
|
||||||
}
|
}
|
||||||
.status-dot {
|
|
||||||
font-size: 1.2em;
|
|
||||||
}
|
|
||||||
.text-warning { color: $brand-warning; }
|
.text-warning { color: $brand-warning; }
|
||||||
.text-info { color: $brand-info; }
|
.text-info { color: $brand-info; }
|
||||||
.text-success { color: $brand-success; }
|
.text-success { color: $brand-success; }
|
||||||
|
|||||||
Reference in New Issue
Block a user