]> git.parisson.com Git - teleforma.git/commitdiff
fix seminar description
authoryomguy <yomguy@parisson.com>
Sun, 6 Jan 2013 23:50:38 +0000 (00:50 +0100)
committeryomguy <yomguy@parisson.com>
Sun, 6 Jan 2013 23:50:38 +0000 (00:50 +0100)
teleforma/templates/teleforma/inc/seminar_description.html

index bf4182e0df84e442862f06a71dbe5db7098eee71..8dacc104dcfedad0be5b95d3c0c549dd74ec4c4e 100644 (file)
@@ -2,13 +2,14 @@
 {% load i18n %}
 
 <dl class="listing" style="font-size: 1.1em; color: black;">
+
+{% if seminar.sub_title %}
+<dt>{% trans "sub title" %}</dt><dd>{{ seminar.sub_title }}</dd>
+{% else %}
 <dt>{% trans "course" %}</dt><dd>{{ seminar.course }}</dd>
+{% endif %}
 <dt>{% trans "level" %}</dt><dd>{{ seminar.level }}</dd>
-<dt>{% trans "public concerned" %}</dt><dd>{{ seminar.concerned }}</dd>
 <dt>{% trans "duration" %}</dt><dd>{{ seminar.duration|hours }} {% trans "hours" %}</dd>
 {% if seminar.keywords.all %}<dt>{% trans "keywords" %}</dt><dd><div class="keywords">{% for kw in seminar.keywords.all %}{{ kw }}{% if not forloop.last %},{% endif %} {% endfor %}</div></dd>{% endif %}
-<!-- {% if seminar.description %}
-<dt>{% trans "description" %}</dt><dd><div class="description">{{ seminar.description|safe }}</div></dd>
-{% endif %}
--->
+
 </dl>
\ No newline at end of file