]> git.parisson.com Git - teleforma.git/commitdiff
fix conf title
authoryomguy <yomguy@parisson.com>
Wed, 7 Nov 2012 11:31:55 +0000 (12:31 +0100)
committeryomguy <yomguy@parisson.com>
Wed, 7 Nov 2012 11:31:55 +0000 (12:31 +0100)
teleforma/templates/teleforma/course_conference.html

index 70c4787a7633da9f1680445b61311b6bfeaefa33..fdd301d7ed1c7b1a2422ffcb944b97731bb709cb 100644 (file)
@@ -37,7 +37,7 @@
         <a href="{% url teleforma-conference-audio conference.id %}" class="component_icon button icon_speaker">&nbsp;{% trans "Audio" %}</a>
     </div>
 
-<a href="{% url teleforma-course-detail course.id %}" style="color: #000;">{{ course.title }}</a> - {{ type }} - {% trans "Session" %} {{ conference.session }}
+<a href="{% url teleforma-course-detail course.id %}" style="color: #000;">{{ course.title }}</a>{% if type.name != "None" %} - {{ type }}{% endif %}{% if conference.session %} - {% trans "Session" %} {{ conference.session }}{% endif %}
 
 </div>