mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 08:24:47 +00:00
Chore: Miscellaneous UI review changes
- Added bg (variable) to pages, card space separation visible - Removed `show brand line` in settings, shown by default - Re-arranged settings by importance - View toggling primary colour is grey - Only populate recent searches on successful search - Hit only one server side api, once while searching - List view primary button float right - Discounts takes upper limit eg. 10% and below - Navbar icons only wiggle on qty increase in cart/wishlist - Pay button in SO portal - Remove bottom white space below item full page image, min-height fits to content - List view vertical space between heading and item code - Empty offer subtitle handled
This commit is contained in:
@@ -6,6 +6,7 @@ sitemap = 1
|
||||
|
||||
def get_context(context):
|
||||
# Add homepage as parent
|
||||
context.body_class = "product-page"
|
||||
context.parents = [{"name": frappe._("Home"), "route":"/"}]
|
||||
|
||||
filter_engine = ProductFiltersBuilder()
|
||||
|
||||
@@ -4,6 +4,8 @@ from frappe import _
|
||||
sitemap = 1
|
||||
|
||||
def get_context(context):
|
||||
context.body_class = "product-page"
|
||||
|
||||
settings = frappe.get_cached_doc("E Commerce Settings")
|
||||
context.categories_enabled = settings.enable_field_filters
|
||||
|
||||
|
||||
Reference in New Issue
Block a user