]> git.parisson.com Git - teleforma.git/commitdiff
no STOP button when no telecaster
authorGuillaume Pellerin <yomguy@parisson.com>
Tue, 24 Jul 2012 10:28:17 +0000 (12:28 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Tue, 24 Jul 2012 10:28:17 +0000 (12:28 +0200)
teleforma/templates/teleforma/course_conference.html
teleforma/templates/teleforma/course_conference_audio.html

index aa87f73a90d0031a448a815f83075f78837536cf..472a2be5cebd1232f5d1bdc4e4cef4a3067969fb 100644 (file)
         });
 </script>
 
+{% get_telecaster as telecaster %}
+{%  if telecaster %}
 <div class="module_action">
 <a href="#" class="component_icon button" id="action_red">{% trans "S T O P" %}</a>
 </div>
+{% endif %}
 
 {% endblock module-action %}
 
@@ -80,4 +83,4 @@
 {% include "teleforma/inc/chat_room.html" %}
 {% endwith %}
 {% endif %}
-{% endblock chat %}
\ No newline at end of file
+{% endblock chat %}
index bb3eb13d9209c192619fe3068120afe59f350f35..6c26c2f8f89ca246bfae71da6ccef7c74b2c7e9e 100644 (file)
         });
 </script>
 
+{% get_telecaster as telecaster %}
+{%  if telecaster %}
 <div class="module_action">
 <a href="#" class="component_icon button" id="action_red">{% trans "S T O P" %}</a>
 </div>
+{% endif %}
 
 {% endblock module-action %}
 
@@ -80,4 +83,4 @@
 {% include "teleforma/inc/chat_room.html" %}
 {% endwith %}
 {% endif %}
-{% endblock chat %}
\ No newline at end of file
+{% endblock chat %}