diff --git a/erpnext/controllers/website_list_for_contact.py b/erpnext/controllers/website_list_for_contact.py index 6b514b23d07..a1982ef515a 100644 --- a/erpnext/controllers/website_list_for_contact.py +++ b/erpnext/controllers/website_list_for_contact.py @@ -49,7 +49,7 @@ def get_transaction_list(doctype, txt=None, filters=None, limit_start=0, limit_p order_by = "modified desc")) else: return [] - + return post_process(doctype, get_list(doctype, txt, filters, limit_start, limit_page_length, fields="name", order_by = "modified desc")) diff --git a/erpnext/public/css/website.css b/erpnext/public/css/website.css index 8b455f3a087..a57bf33f375 100644 --- a/erpnext/public/css/website.css +++ b/erpnext/public/css/website.css @@ -63,3 +63,6 @@ border-top: 2px solid #EBEFF2; padding-top: 10px; } +.featured-products { + border-top: 1px solid #EBEFF2; +} diff --git a/erpnext/public/less/website.less b/erpnext/public/less/website.less index 08ae03a767c..7b0f1d651fe 100644 --- a/erpnext/public/less/website.less +++ b/erpnext/public/less/website.less @@ -74,3 +74,7 @@ border-top: 2px solid @light-border-color; padding-top:10px; } + +.featured-products { + border-top: 1px solid @light-border-color; +} diff --git a/erpnext/templates/pages/home.html b/erpnext/templates/pages/home.html new file mode 100644 index 00000000000..5c0f3308925 --- /dev/null +++ b/erpnext/templates/pages/home.html @@ -0,0 +1,31 @@ +{% extends "templates/web.html" %} + +{% block title %}{{brand_html}}{% endblock %} + +{% block page_content %} + + + + +
{{ description }}
+ + +