コード例 #1
0
ファイル: invoices.py プロジェクト: akaifi/shopping-cart
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
コード例 #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
コード例 #3
0
ファイル: orders.py プロジェクト: akaifi/shopping-cart
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
コード例 #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
コード例 #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
コード例 #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