From 4a8492e8c20eba48da4e787443a0e31eaac47e13 Mon Sep 17 00:00:00 2001 From: fbormann Date: Sun, 23 Oct 2016 14:48:53 -0300 Subject: [PATCH] modified notification card template, removed login notifications and set up new messages --- app/templates/home_teacher_student_content.html | 6 +----- app/views.py | 1 - core/views.py | 1 - 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/app/templates/home_teacher_student_content.html b/app/templates/home_teacher_student_content.html index 99fe24e..184a6ac 100644 --- a/app/templates/home_teacher_student_content.html +++ b/app/templates/home_teacher_student_content.html @@ -4,11 +4,7 @@
- +
diff --git a/app/views.py b/app/views.py index 742e3d8..1ca4809 100644 --- a/app/views.py +++ b/app/views.py @@ -40,7 +40,6 @@ class AppIndex(LoginRequiredMixin, LogMixin, ListView, NotificationMixin): else: self.template_name = "home_teacher_student_content.html" - super(AppIndex, self).createNotification("you have just logged in", resource_name="home", resource_link="/") return self.response_class(request = self.request, template = self.template_name, context = context, using = self.template_engine, **response_kwargs) diff --git a/core/views.py b/core/views.py index 53a99e9..28bb7ce 100644 --- a/core/views.py +++ b/core/views.py @@ -68,7 +68,6 @@ def remember_password(request): context['danger'] = 'E-mail does not send' return render(request, "remember_password.html",context) -@notification_decorator(message='just connected', not_action="logged in", not_resource="") @log_decorator('Acessar', 'Sistema') def login(request): context = {} -- libgit2 0.21.2