feat: widgets interface

Widgets are reusable jinja templates which can be used in other
themplates. Widgets are written in widgets/ directory in every frappe
module and can be accessed as `{{ widgets.WidgetName(...) }}` from any
template.
This commit is contained in:
Anand Chitipothu
2021-04-29 10:37:36 +05:30
parent 0ab4fbb03d
commit 5feeb4ca0c
4 changed files with 92 additions and 0 deletions

View File

@@ -169,3 +169,5 @@ profile_rules = [
]
website_route_rules = primary_rules + whitelist_rules + profile_rules
update_website_context = 'community.widgets.update_website_context'