fix(prospecting): add missing /prospecting prefix and fix broken template macros
Some checks failed
Some checks failed
The API router was missing prefix="/prospecting", causing all endpoints to register at /api/v1/admin/stats instead of /api/v1/admin/prospecting/stats. Also fix 500 errors on prospects, leads, and scan-jobs pages caused by importing non-existent macro names (table_empty → table_empty_state, pagination_controls → pagination). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{% extends "admin/base.html" %}
|
||||
{% from 'shared/macros/headers.html' import page_header %}
|
||||
{% from 'shared/macros/alerts.html' import loading_state, error_state %}
|
||||
{% from 'shared/macros/pagination.html' import pagination_controls %}
|
||||
{% from 'shared/macros/pagination.html' import pagination %}
|
||||
|
||||
{% block title %}Scan Jobs{% endblock %}
|
||||
|
||||
@@ -86,7 +86,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ pagination_controls() }}
|
||||
{{ pagination() }}
|
||||
{% endblock %}
|
||||
|
||||
{% block extra_scripts %}
|
||||
|
||||
Reference in New Issue
Block a user