From 7a7a845805bf00af997e53b484c6eafd0cdbedb0 Mon Sep 17 00:00:00 2001 From: yomguy Date: Mon, 7 Jan 2013 00:50:38 +0100 Subject: [PATCH] fix seminar description --- .../templates/teleforma/inc/seminar_description.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/teleforma/templates/teleforma/inc/seminar_description.html b/teleforma/templates/teleforma/inc/seminar_description.html index bf4182e0..8dacc104 100644 --- a/teleforma/templates/teleforma/inc/seminar_description.html +++ b/teleforma/templates/teleforma/inc/seminar_description.html @@ -2,13 +2,14 @@ {% load i18n %}
+ +{% if seminar.sub_title %} +
{% trans "sub title" %}
{{ seminar.sub_title }}
+{% else %}
{% trans "course" %}
{{ seminar.course }}
+{% endif %}
{% trans "level" %}
{{ seminar.level }}
-
{% trans "public concerned" %}
{{ seminar.concerned }}
{% trans "duration" %}
{{ seminar.duration|hours }} {% trans "hours" %}
{% if seminar.keywords.all %}
{% trans "keywords" %}
{% for kw in seminar.keywords.all %}{{ kw }}{% if not forloop.last %},{% endif %} {% endfor %}
{% endif %} - +
\ No newline at end of file -- 2.39.5