summaryrefslogtreecommitdiff
path: root/src/templates/apps/room
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-05-26 23:19:15 +0200
committerLeif Johansson <leifj@sunet.se>2011-05-26 23:19:15 +0200
commitdb3632c30e9262adbe7a35be404ace0436a20271 (patch)
tree6370a628bc0c0a2a7c6c044a07938a394b2b1421 /src/templates/apps/room
parent295d26c277a264e24e122b9242c5c550f25b41e2 (diff)
Keep track of number of hosts and show the launch page until there is at least one host
Diffstat (limited to 'src/templates/apps/room')
-rw-r--r--src/templates/apps/room/launch.html11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/templates/apps/room/launch.html b/src/templates/apps/room/launch.html
index 21dff15..145d475 100644
--- a/src/templates/apps/room/launch.html
+++ b/src/templates/apps/room/launch.html
@@ -10,17 +10,20 @@
<p><span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>
<strong>Note</strong>
You are about to enter the meeting room '{{room.name}}'.
- {%if room.nusers == 0 %}You are the first user to enter the room. If you are hosting this meeting and are comfortable with
- the Adobe Connect software you may press 'Enter as Host' below.
+ {%if room.nusers == 0 %}
+ You are the first user to enter the room.
{%else%}
- There are {{room.nusers}} other participants in the room.
+ There are {{room.nusers}} other participants in the room right now.
+ {% endif %}
+ {%if room.nhosts == 0 %} There are no hosts in the room right now. This means that the participants in the room may not be able to make full use of the room.
+ If you are hosting this meeting and are comfortable with the Adobe Connect software you may press 'Enter as Host' below to become the first host.
{% endif %}
</p>
</div>
</div>
<br/>
<ul class="ilist">
- {%if room.nusers == 0 %}
+ {%if room.nhosts == 0 %}
<li class="button"><a href="{% prefix %}/accounts/login-federated?next=/promote/{{room.id}}">Enter as Host</a></li>
{% endif %}
<li class="button"><a href="{% prefix %}/launch/{{room.id}}">Enter</a></li>