From a31e92353bff8426f008bde8c0ccae3289c911f7 Mon Sep 17 00:00:00 2001 From: yomguy Date: Wed, 25 Jul 2012 01:20:52 +0200 Subject: [PATCH] add room for record --- .../templates/teleforma/course_conference_record.html | 7 +++++++ teleforma/views.py | 1 + 2 files changed, 8 insertions(+) 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): -- 2.39.5