]> git.parisson.com Git - teleforma.git/commitdiff
local tweeter only if course.tweeter_title exists
authoryomguy <yomguy@parisson.com>
Fri, 8 Feb 2013 15:08:46 +0000 (16:08 +0100)
committeryomguy <yomguy@parisson.com>
Fri, 8 Feb 2013 15:08:46 +0000 (16:08 +0100)
teleforma/templates/teleforma/course_conference.html
teleforma/templates/teleforma/course_conference_audio.html
teleforma/templates/teleforma/course_detail.html
teleforma/templates/teleforma/course_media.html

index 70c4787a7633da9f1680445b61311b6bfeaefa33..0cfc6b37325d740834546a84ba1f45f349e50737 100644 (file)
 </div>
 {% endblock course %}
 
-{% block chat %}
-{% if room %}
-{% with "Local tweeter" as title %}
-{% include "teleforma/inc/chat_room.html" %}
-{% endwith %}
-{% endif %}
-{% endblock chat %}
index 6c26c2f8f89ca246bfae71da6ccef7c74b2c7e9e..a2995f3002bdaee81740c15c853aed69ffedacbe 100644 (file)
 
 </div>
 {% endblock course %}
-
-{% block chat %}
-{% if room %}
-{% with "Local tweeter" as title %}
-{% include "teleforma/inc/chat_room.html" %}
-{% endwith %}
-{% endif %}
-{% endblock chat %}
index 5d8e532ece073760e058125ac16d56bd77b70982..31ff67ff38b8ab3e09d061d3f952e826283c3880 100644 (file)
@@ -48,9 +48,11 @@ $(document).ready(function(){
 {% endblock course %}
 
 {% block chat %}
+{% if course.tweeter_title %}
 {% if room %}
-{% with "Local tweeter" as title %}
+{% with "Tweeter"|add:" "|add:course.tweeter_title as title %}
 {% include "teleforma/inc/chat_room.html" %}
 {% endwith %}
 {% endif %}
+{% endif %}
 {% endblock chat %}
\ No newline at end of file
index b291e511950f5d8e7992b6e233d9102a4b35a712..35e8b6c9d1b3d1abcb857b687fd10357b419ed53 100644 (file)
@@ -154,10 +154,3 @@ $(document).ready(function(){
 </div>
 {% endblock course %}
 
-{% block chat %}
-{% if room %}
-{% with "Local tweeter" as title %}
-{% include "teleforma/inc/chat_room.html" %}
-{% endwith %}
-{% endif %}
-{% endblock chat %}