Use CSS color classes instead of inline styles for crypto history buttons

This commit is contained in:
Russell Ballestrini 2025-09-24 18:19:23 -04:00
parent d92d940a44
commit 91042ff4ba

View file

@ -58,12 +58,12 @@
<div style="text-align: right; justify-self: end;">
{% if payment.status == 'confirmed' or payment.status == 'confirmed-overpaid' %}
{% if payment.has_invoice %}
<a href="{{ request.route_url('view_invoice', invoice_id=payment.invoice_id) }}" class="mps-button mps-button-small" style="background: #28a745;">
<a href="{{ request.route_url('view_invoice', invoice_id=payment.invoice_id) }}" class="mps-button mps-button-small mps-button-green">
View Invoice
</a>
{% endif %}
{% elif payment.status == 'pending' or payment.status == 'received' %}
<a href="{{ request.route_url('crypto_quote', payment_id=payment.id) }}" class="mps-button mps-button-small" style="background: #17a2b8;">
<a href="{{ request.route_url('crypto_quote', payment_id=payment.id) }}" class="mps-button mps-button-small mps-button-blue">
View Quote
</a>
{% else %}