Commit fbf3db27 authored by Patrick's avatar Patrick

Remove shopping cart color

parent 2eec2cf7
......@@ -1079,14 +1079,10 @@ def update_or_create_purchase(customer=None, offer_item_id=None, q_order=None, v
def my_basket(is_order_confirm_send, order_amount, to_json):
if not is_order_confirm_send and apps.REPANIER_SETTINGS_CUSTOMERS_MUST_CONFIRM_ORDERS:
if order_amount > DECIMAL_ZERO:
msg_html = '<span class="glyphicon glyphicon-shopping-cart"></span> %s&nbsp;&nbsp;&nbsp;<font color="red"><span class="glyphicon glyphicon-alert"></span>&nbsp;<span class="glyphicon glyphicon-floppy-remove"></span></font></a>' % (
msg_html = '<span class="glyphicon glyphicon-shopping-cart"></span> %s&nbsp;&nbsp;&nbsp;<span class="glyphicon glyphicon-exclamation-sign"></span>&nbsp;<span class="glyphicon glyphicon-floppy-remove"></span></a>' % (
order_amount,)
else:
msg_html = '<span class="glyphicon glyphicon-shopping-cart"></span> %s&nbsp;&nbsp;&nbsp;<span class="glyphicon glyphicon-alert"></span>&nbsp;<span class="glyphicon glyphicon-floppy-remove"></span></a>' % (
order_amount,)
else:
msg_html = '<span class="glyphicon glyphicon-shopping-cart"></span> %s&nbsp;&nbsp;&nbsp;<font color="green"><span class="glyphicon glyphicon-floppy-saved"></span></font></a>' % (
msg_html = '<span class="glyphicon glyphicon-shopping-cart"></span> %s&nbsp;&nbsp;&nbsp;<span class="glyphicon glyphicon-floppy-saved"></span></a>' % (
order_amount,)
option_dict = {'id': "#my_basket", 'html': msg_html}
to_json.append(option_dict)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment