[website] [minor] moving to framework

This commit is contained in:
Anand Doshi
2013-09-10 18:29:39 +05:30
parent f2d0255031
commit b0d996ffb1
52 changed files with 606 additions and 199 deletions

View File

@@ -72,111 +72,5 @@
"label": "Notes",
"icon": "icon-file-alt"
}
},
"web": {
"pages": {
"account": {
"no_cache": true,
"template": "app/portal/templates/account.html"
},
"order": {
"no_cache": true,
"template": "app/portal/templates/sale.html",
"args_method": "utilities.website_transactions.get_order_args",
"portal": {
"doctype": "Sales Order",
"conditions": {
"docstatus": 1
}
}
},
"orders": {
"no_cache": true,
"template": "app/portal/templates/sales_transactions.html",
"args_method": "utilities.website_transactions.order_list_args"
},
"invoice": {
"no_cache": true,
"template": "app/portal/templates/sale.html",
"args_method": "utilities.website_transactions.get_invoice_args",
"portal": {
"doctype": "Sales Invoice",
"conditions": {
"docstatus": 1
}
}
},
"invoices": {
"no_cache": true,
"template": "app/portal/templates/sales_transactions.html",
"args_method": "utilities.website_transactions.invoice_list_args"
},
"shipment": {
"no_cache": true,
"template": "app/portal/templates/sale.html",
"args_method": "utilities.website_transactions.get_shipment_args",
"portal": {
"doctype": "Delivery Note",
"conditions": {
"docstatus": 1
}
}
},
"shipments": {
"no_cache": true,
"template": "app/portal/templates/sales_transactions.html",
"args_method": "utilities.website_transactions.shipment_list_args"
},
"product_search": {
"template": "app/stock/doctype/item/templates/product_search.html"
},
"ticket": {
"no_cache": true,
"template": "app/support/doctype/support_ticket/templates/ticket.html",
"args_method": "support.doctype.support_ticket.support_ticket.get_website_args",
"portal": {
"doctype": "Support Ticket"
}
},
"tickets": {
"template": "app/support/doctype/support_ticket/templates/tickets.html",
"args_method": "utilities.website_transactions.ticket_list_args"
},
"address": {
"no_cache": true,
"template": "app/utilities/doctype/address/templates/address.html",
"args_method": "utilities.doctype.address.address.get_website_args"
},
"addresses": {
"template": "app/utilities/doctype/address/templates/addresses.html"
},
"profile": {
"no_cache": true,
"template": "app/portal/templates/profile.html",
"args_method": "startup.webutils.get_profile_args"
},
"cart": {
"no_cache": true,
"template": "app/portal/templates/cart.html"
},
"partners": {
"template": "app/setup/doctype/sales_partners/templates/partners.html",
"args_method": "setup.doctype.sales_partner.sales_partner.get_partner_args"
}
},
"generators": {
"Item": {
"template": "app/stock/doctype/item/templates/item.html",
"condition_field": "show_in_website"
},
"Item Group":{
"template": "app/setup/doctype/item_group/templates/item_group.html",
"condition_field": "show_in_website"
},
"Sales Partner": {
"template": "app/setup/doctype/sales_partner/templates/partner_page.html",
"condition_field": "show_in_website"
}
}
}
}