Add recipe link, fix step count, add nav counts
- Make recipe name clickable link to recipe page on run detail - Fix step count to use plan.steps length as fallback - Add nav_counts support to base template for showing counts in brackets - Add get_nav_counts helper in dependencies - Pass nav_counts on home page Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -77,6 +77,7 @@ async def home(request: Request):
|
||||
user=user,
|
||||
readme_html=readme_html,
|
||||
stats=stats,
|
||||
nav_counts=stats, # Reuse stats for nav counts
|
||||
active_tab="home",
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user