From b77950e94e365adbbabbcd8f3b3d681ff997c18c Mon Sep 17 00:00:00 2001 From: yomguy Date: Tue, 2 Aug 2016 18:41:20 +0200 Subject: [PATCH] fix no professor.user.username --- teleforma/templates/teleforma/inc/conference_list.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/teleforma/templates/teleforma/inc/conference_list.html b/teleforma/templates/teleforma/inc/conference_list.html index 753fcea1..3e02bce0 100644 --- a/teleforma/templates/teleforma/inc/conference_list.html +++ b/teleforma/templates/teleforma/inc/conference_list.html @@ -24,7 +24,7 @@
{% trans "Title" %}
{{ stream.conference.course.title }}
{% trans "Session" %}
{{ stream.conference.session }}
-
{% trans "Professor" %}
{{ stream.conference.professor }}
+
{% trans "Professor" %}
{% if stream.conference.professor.user.username %}{{ stream.conference.professor }}{% endif %}
{% trans "Begin" %}
{{ stream.conference.date_begin }}
@@ -48,4 +48,4 @@ {% endif %} -{% endwith %} \ No newline at end of file +{% endwith %} -- 2.39.5