Commit 4a8492e8c20eba48da4e787443a0e31eaac47e13
1 parent
5964b15b
Exists in
master
and in
5 other branches
modified notification card template, removed login notifications and set up new messages
Showing
3 changed files
with
1 additions
and
7 deletions
Show diff stats
app/templates/home_teacher_student_content.html
... | ... | @@ -4,11 +4,7 @@ |
4 | 4 | |
5 | 5 | |
6 | 6 | <div class="well timeLine"> |
7 | - <div class="row"> | |
8 | - <div class="col-md-12"> | |
9 | - <p><a href="#"></a></p><h6><a href="#"><i>Default Path to Notification</i></a></h6><p></p> | |
10 | - </div> | |
11 | - </div> | |
7 | + | |
12 | 8 | <div class="row"> |
13 | 9 | <div class="col-xs-2 col-md-1"> |
14 | 10 | <img class="imgTimeLine" src="{{ notification.user.image_url }}"> | ... | ... |
app/views.py
... | ... | @@ -40,7 +40,6 @@ class AppIndex(LoginRequiredMixin, LogMixin, ListView, NotificationMixin): |
40 | 40 | else: |
41 | 41 | self.template_name = "home_teacher_student_content.html" |
42 | 42 | |
43 | - super(AppIndex, self).createNotification("you have just logged in", resource_name="home", resource_link="/") | |
44 | 43 | return self.response_class(request = self.request, template = self.template_name, context = context, using = self.template_engine, **response_kwargs) |
45 | 44 | |
46 | 45 | ... | ... |
core/views.py
... | ... | @@ -68,7 +68,6 @@ def remember_password(request): |
68 | 68 | context['danger'] = 'E-mail does not send' |
69 | 69 | return render(request, "remember_password.html",context) |
70 | 70 | |
71 | -@notification_decorator(message='just connected', not_action="logged in", not_resource="") | |
72 | 71 | @log_decorator('Acessar', 'Sistema') |
73 | 72 | def login(request): |
74 | 73 | context = {} | ... | ... |