refactor: Aliasy admin_seo/gbp_audit + poprawka chat.chat_analytics

- Dodano aliasy w blueprints/__init__.py dla admin_seo i admin_gbp_audit
- Poprawiono url_for('chat_analytics') na url_for('chat.chat_analytics')
  (trasa już jest w blueprincie chat)

Minimalne, bezpieczne zmiany zgodne z metodologią.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Maciej Pienczyn 2026-01-31 08:41:28 +01:00
parent 978481ec00
commit dd4eb52521
2 changed files with 4 additions and 1 deletions

View File

@ -226,6 +226,9 @@ def register_blueprints(app):
'admin_calendar': 'admin.admin_calendar',
'admin_calendar_new': 'admin.admin_calendar_new',
'admin_calendar_delete': 'admin.admin_calendar_delete',
# SEO & Audits (Phase 6.2a)
'admin_seo': 'admin.admin_seo',
'admin_gbp_audit': 'admin.admin_gbp_audit',
})
logger.info("Created admin endpoint aliases")
except ImportError as e:

View File

@ -1335,7 +1335,7 @@
</svg>
Użytkownicy
</a>
<a href="{{ url_for('chat_analytics') }}">
<a href="{{ url_for('chat.chat_analytics') }}">
<svg fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"/>
</svg>