Release v4928.1.4.2 stable
This commit is contained in:
24
app/admin_ui/pages/conversations.py
Normal file
24
app/admin_ui/pages/conversations.py
Normal file
@@ -0,0 +1,24 @@
|
||||
"""Conversation placeholder routes.
|
||||
|
||||
Moved from app.admin_dashboard in v4.7.2. The handlers still reuse
|
||||
legacy helpers to keep this refactor behavior-preserving.
|
||||
"""
|
||||
from fastapi import APIRouter
|
||||
import app.admin_dashboard as legacy
|
||||
from app.admin_dashboard import * # noqa: F401,F403
|
||||
|
||||
router = APIRouter()
|
||||
|
||||
|
||||
@router.get("/conversations", response_class=HTMLResponse)
|
||||
@router.get("/conversas", response_class=HTMLResponse)
|
||||
async def conversations_page():
|
||||
body = '''
|
||||
<section class="cf-empty">
|
||||
<h2 class="h5">Conversas</h2>
|
||||
<p class="mb-0">A inbox continua no Chatwoot. Esta página fica reservada para a vista consolidada de conversas dentro do ClientFlow.</p>
|
||||
</section>
|
||||
'''
|
||||
return layout("Conversas", "Vista futura de conversas sincronizadas", body, "conversations")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user