Rename coop_title to market_title, update shared submodule
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m52s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m52s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2
app.py
2
app.py
@@ -93,7 +93,7 @@ def create_app() -> "Quart":
|
|||||||
app.register_blueprint(
|
app.register_blueprint(
|
||||||
register_market_bp(
|
register_market_bp(
|
||||||
url_prefix="/",
|
url_prefix="/",
|
||||||
title=config()["coop_title"],
|
title=config()["market_title"],
|
||||||
),
|
),
|
||||||
url_prefix="/<page_slug>/<market_slug>",
|
url_prefix="/<page_slug>/<market_slug>",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ def register(url_prefix, title):
|
|||||||
post_data = getattr(g, "post_data", None) or {}
|
post_data = getattr(g, "post_data", None) or {}
|
||||||
return {
|
return {
|
||||||
**post_data,
|
**post_data,
|
||||||
"coop_title": market.name if market else title,
|
"market_title": market.name if market else title,
|
||||||
"categories": (await get_nav(g.s, market_id=market_id))["cats"],
|
"categories": (await get_nav(g.s, market_id=market_id))["cats"],
|
||||||
"qs": makeqs_factory()(),
|
"qs": makeqs_factory()(),
|
||||||
"market": market,
|
"market": market,
|
||||||
|
|||||||
@@ -3,13 +3,13 @@ base_host: "wholesale.suma.coop"
|
|||||||
base_login: https://wholesale.suma.coop/customer/account/login/
|
base_login: https://wholesale.suma.coop/customer/account/login/
|
||||||
base_url: https://wholesale.suma.coop/
|
base_url: https://wholesale.suma.coop/
|
||||||
title: Rose Ash
|
title: Rose Ash
|
||||||
coop_root: /market
|
market_root: /market
|
||||||
coop_title: Market
|
market_title: Market
|
||||||
blog_root: /
|
blog_root: /
|
||||||
blog_title: all the news
|
blog_title: all the news
|
||||||
cart_root: /cart
|
cart_root: /cart
|
||||||
app_urls:
|
app_urls:
|
||||||
coop: "http://localhost:8000"
|
blog: "http://localhost:8000"
|
||||||
market: "http://localhost:8001"
|
market: "http://localhost:8001"
|
||||||
cart: "http://localhost:8002"
|
cart: "http://localhost:8002"
|
||||||
events: "http://localhost:8003"
|
events: "http://localhost:8003"
|
||||||
|
|||||||
2
shared
2
shared
Submodule shared updated: b16ba34b40...798087de9a
Reference in New Issue
Block a user