From 4ccdf99a43e9659bc3c3192cb05d7d9c3741fa34 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Wed, 29 May 2024 15:47:04 -0500 Subject: [PATCH] Add way to flag organic products within lookup dialog --- tailbone/templates/base.mako | 4 +++- tailbone/templates/base_meta.mako | 2 ++ tailbone/templates/products/lookup.mako | 6 ++++-- tailbone/views/products.py | 20 ++++++++++++++++---- 4 files changed, 25 insertions(+), 7 deletions(-) diff --git a/tailbone/templates/base.mako b/tailbone/templates/base.mako index 44c7dd0f..1554d15d 100644 --- a/tailbone/templates/base.mako +++ b/tailbone/templates/base.mako @@ -171,7 +171,9 @@ % endif -<%def name="extra_styles()"> +<%def name="extra_styles()"> + ${base_meta.extra_styles()} + <%def name="head_tags()"> diff --git a/tailbone/templates/base_meta.mako b/tailbone/templates/base_meta.mako index 568782b7..07b13e61 100644 --- a/tailbone/templates/base_meta.mako +++ b/tailbone/templates/base_meta.mako @@ -4,6 +4,8 @@ <%def name="global_title()">${"[STAGE] " if not request.rattail_config.production() else ''}${self.app_title()} +<%def name="extra_styles()"> + <%def name="favicon()"> diff --git a/tailbone/templates/products/lookup.mako b/tailbone/templates/products/lookup.mako index 52b06e88..bf8e7ef5 100644 --- a/tailbone/templates/products/lookup.mako +++ b/tailbone/templates/products/lookup.mako @@ -109,8 +109,10 @@ - {{ props.row.description }} - {{ props.row.size }} + + {{ props.row.description }} + {{ props.row.size }} +