[virtualcommons-svn] commit/vcweb: alllee: hiding chat div during non-chat rounds. should move to d
Status: Beta
Brought to you by:
alllee
From: Bitbucket <com...@bi...> - 2011-06-22 08:04:17
|
1 new changeset in vcweb: http://bitbucket.org/virtualcommons/vcweb/changeset/70b77991ec16/ changeset: 70b77991ec16 user: alllee date: 2011-06-22 09:57:02 summary: hiding chat div during non-chat rounds. should move to datatables.net implementation, otherwise there's too much data to manage via accordions. affected #: 1 file (82 bytes) --- a/vcweb/core/templates/experimenter/monitor.html Wed Jun 22 00:48:27 2011 -0700 +++ b/vcweb/core/templates/experimenter/monitor.html Wed Jun 22 00:57:02 2011 -0700 @@ -250,6 +250,7 @@ <div class='info ui-corner-all'><span class='ui-icon ui-icon-info icon-left'></span>No participant data for this round.</div> {% endif %} {% comment %} participant chats {% endcomment %} + {% if round_data.round_configuration.is_chat_round %} <h4 class='collapsible'>Chat data</h4><div id='chat-div-{{round_data.pk}}' class='chat notice ui-corner-all'> {% for chat_message in round_data.chat_messages.all %} @@ -259,6 +260,7 @@ </div> {% endfor %} </div> + {% endif %} </div> {% empty %} <div class='alert ui-state-highlight ui-corner-all'><span class='ui-icon ui-icon-alert icon-left'></span>Round data is not yet available.</div> Repository URL: https://bitbucket.org/virtualcommons/vcweb/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |