From ac3e00fa03bd3176ac791f520fc0d458589384fe Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Wed, 25 Mar 2020 17:48:09 +0100 Subject: [PATCH] Color buttons green if they otherwise look like a headline --- src/pretix/control/templates/pretixcontrol/order/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pretix/control/templates/pretixcontrol/order/index.html b/src/pretix/control/templates/pretixcontrol/order/index.html index 91da906cf8..85583279d7 100644 --- a/src/pretix/control/templates/pretixcontrol/order/index.html +++ b/src/pretix/control/templates/pretixcontrol/order/index.html @@ -37,7 +37,7 @@ {% endif %} {% if order.require_approval and order.status == 'n' %} + class="btn btn-success"> {% trans "Approve" %} @@ -49,7 +49,7 @@ {% else %} {% if order.status == 'n' or order.status == 'e' %} + class="btn {% if overpaid >= 0 %}btn-success{% else %}btn-default{% endif %}"> {% trans "Mark as paid" %}