Exemplo n.º 1
0
def get_context(context):
	invoices_context = get_currency_context()
	invoices_context.update({
		"title": "Invoices",
		"method": "shopping_cart.templates.pages.invoices.get_invoices",
		"icon": "icon-file-text",
		"empty_list_message": "No Invoices Found",
		"page": "invoice"
	})
	return invoices_context
Exemplo n.º 2
0
def get_context(context):
	invoices_context = get_currency_context()
	invoices_context.update({
		"title": "Invoices",
		"method": "shopping_cart.templates.pages.invoices.get_invoices",
		"icon": "icon-file-text",
		"empty_list_message": "No Invoices Found",
		"page": "invoice"
	})
	return invoices_context
Exemplo n.º 3
0
def get_context(context):
	orders_context = get_currency_context()
	orders_context.update({
		"title": "My Orders",
		"method": "shopping_cart.templates.pages.orders.get_orders",
		"icon": "icon-list",
		"empty_list_message": "No Orders Yet",
		"page": "order",
	})
	return orders_context
Exemplo n.º 4
0
def get_context(context):
	shipments_context = get_currency_context()
	shipments_context.update({
		"title": _("Shipments"),
		"method": "shopping_cart.templates.pages.shipments.get_shipments",
		"icon": "icon-truck",
		"empty_list_message": _("No Shipments Found"),
		"page": "shipment"
	})
	return shipments_context
Exemplo n.º 5
0
def get_context(context):
	shipments_context = get_currency_context()
	shipments_context.update({
		"title": "Shipments",
		"method": "shopping_cart.templates.pages.shipments.get_shipments",
		"icon": "icon-truck",
		"empty_list_message": "No Shipments Found",
		"page": "shipment"
	})
	return shipments_context
Exemplo n.º 6
0
def get_context(context):
    orders_context = get_currency_context()
    orders_context.update({
        "title": "My Orders",
        "method": "shopping_cart.templates.pages.orders.get_orders",
        "icon": "icon-list",
        "empty_list_message": "No Orders Yet",
        "page": "order",
    })
    return orders_context