1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-24 17:40:32 +02:00

Improve mobile chat

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello
2024-04-27 23:20:15 +02:00
parent 13f6b1972f
commit 14878fce86
7 changed files with 112 additions and 8 deletions

View File

@ -3,12 +3,12 @@
from django.urls import path
from django.utils.translation import gettext_lazy as _
from django.views.generic import TemplateView
from tfjm.views import LoginRequiredTemplateView
app_name = 'chat'
urlpatterns = [
path('', TemplateView.as_view(template_name="chat/chat.html", extra_context={'title': _("Chat")}), name='chat'),
path('fullscreen/', TemplateView.as_view(template_name="chat/fullscreen.html"), name='fullscreen'),
path('', LoginRequiredTemplateView.as_view(template_name="chat/chat.html",
extra_context={'title': _("Chat")}), name='chat'),
path('fullscreen/', LoginRequiredTemplateView.as_view(template_name="chat/fullscreen.html"), name='fullscreen'),
]