From 76cece0916aa5fce13ccd0019a55dca84ac52ef4 Mon Sep 17 00:00:00 2001 From: Matheus Lins Date: Fri, 9 Sep 2016 00:56:41 -0300 Subject: [PATCH] home courses tamplate #18 --- app/templates/home_professor.html | 24 +++++++++++++----------- core/mixins.py | 4 ++-- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/app/templates/home_professor.html b/app/templates/home_professor.html index 952271c..1e57693 100644 --- a/app/templates/home_professor.html +++ b/app/templates/home_professor.html @@ -31,18 +31,20 @@

{% trans 'Courses' %}

{% if courses|length > 0 %} {% for course in courses %} -
- + {% endfor %} {% else %}

{% trans "You didn't create any course yet." %}

diff --git a/core/mixins.py b/core/mixins.py index d28599e..0c3ab37 100644 --- a/core/mixins.py +++ b/core/mixins.py @@ -74,5 +74,5 @@ class NotificationMixin(object): def dispatch(self, request, *args, **kwargs): """ - Not quite sure how to do about it""" - return super(NotificationMixin, self).dispatch(request, *args, **kwargs) \ No newline at end of file + Not quite sure how to do about it""" + return super(NotificationMixin, self).dispatch(request, *args, **kwargs) \ No newline at end of file -- libgit2 0.21.2