diff --git a/frappe/docs/user/en/bench/index.md b/frappe/docs/user/en/bench/index.md index a91b00e4b9..39e8cc0ffe 100644 --- a/frappe/docs/user/en/bench/index.md +++ b/frappe/docs/user/en/bench/index.md @@ -1,2 +1,3 @@ # Bench +{index} \ No newline at end of file diff --git a/frappe/www/list.html b/frappe/www/list.html index a6d89685b4..7950c58ecc 100644 --- a/frappe/www/list.html +++ b/frappe/www/list.html @@ -1,6 +1,8 @@ {% extends "templates/web.html" %} -{% block title %}{{ title or (_("{0} List").format(_(doctype))) }}{% endblock %} +{% block title %} + {{ title or (_("{0} List").format(_(doctype))) }} +{% endblock %} {% block header %}

{{ title or (_("{0} List").format(_(doctype))) }}

diff --git a/frappe/www/list.py b/frappe/www/list.py index 4a1a56ebde..77975e73d6 100644 --- a/frappe/www/list.py +++ b/frappe/www/list.py @@ -11,9 +11,10 @@ from frappe import _ no_cache = 1 no_sitemap = 1 -def get_context(context): +def get_context(context, **dict_params): """Returns context for a list standard list page. Will also update `get_list_context` from the doctype module file""" + frappe.local.form_dict.update(dict_params) doctype = frappe.local.form_dict.doctype context.parents = [{"route":"me", "title":_("My Account")}] context.update(get_list_context(context, doctype) or {})