Use CSS color classes instead of inline styles for crypto history buttons
This commit is contained in:
parent
d92d940a44
commit
91042ff4ba
1 changed files with 2 additions and 2 deletions
|
|
@ -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 %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue