mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 03:42:11 +01:00 
			
		
		
		
	Improve mobile chat
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
		@@ -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'),
 | 
			
		||||
]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user