From: yomguy Date: Tue, 24 Jul 2012 23:20:52 +0000 (+0200) Subject: add room for record X-Git-Tag: 0.8^2~10 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=a31e92353bff8426f008bde8c0ccae3289c911f7;p=teleforma.git add room for record --- diff --git a/teleforma/templates/teleforma/course_conference_record.html b/teleforma/templates/teleforma/course_conference_record.html index 25a7a465..582f5dfd 100644 --- a/teleforma/templates/teleforma/course_conference_record.html +++ b/teleforma/templates/teleforma/course_conference_record.html @@ -60,3 +60,10 @@ jQuery(window).ready(function(){ {% endblock course %} +{% block chat %} +{% if room %} +{% with "Local tweeter" as title %} +{% include "teleforma/inc/chat_room.html" %} +{% endwith %} +{% endif %} +{% endblock chat %} \ No newline at end of file diff --git a/teleforma/views.py b/teleforma/views.py index c9b66faf..797c4916 100755 --- a/teleforma/views.py +++ b/teleforma/views.py @@ -382,6 +382,7 @@ class ConferenceRecordView(FormView): status.update() context['host'] = status.ip context['hidden_fields'] = self.hidden_fields + context['room'] = jqchat.models.Room.objects.create() return context def get_success_url(self):