From 7b384bd3350037242f7286dcc8d6e9a336309f6f Mon Sep 17 00:00:00 2001 From: giles Date: Tue, 10 Feb 2026 23:45:00 +0000 Subject: [PATCH] feat: add markets and payments nav buttons, remove features panel - Add cross-app nav buttons for markets and payments (events app) - Remove page features panel and markets panel from blog admin (calendars, markets, and payments are now managed in the events app) Co-Authored-By: Claude Opus 4.6 --- templates/_types/post/admin/_main_panel.html | 9 --------- templates/_types/post/admin/_nav.html | 10 ++++++++++ 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/templates/_types/post/admin/_main_panel.html b/templates/_types/post/admin/_main_panel.html index 1ebe622..58d5238 100644 --- a/templates/_types/post/admin/_main_panel.html +++ b/templates/_types/post/admin/_main_panel.html @@ -3,14 +3,5 @@ id="main-panel" class="flex-1 md:h-full md:min-h-0 overflow-y-auto overscroll-contain js-grid-viewport" > - {% if post and post.is_page %} -
- {% include "_types/post/admin/_features_panel.html" %} - - {% if features.get('market') %} - {% include "_types/post/admin/_markets_panel.html" %} - {% endif %} -
- {% endif %}
diff --git a/templates/_types/post/admin/_nav.html b/templates/_types/post/admin/_nav.html index 7296d15..c0bfab6 100644 --- a/templates/_types/post/admin/_nav.html +++ b/templates/_types/post/admin/_nav.html @@ -4,6 +4,16 @@ calendars + + {% call links.link(url_for('blog.post.admin.entries', slug=post.slug), hx_select_search, select_colours, True, aclass=styles.nav_button) %} entries {% endcall %}