Browse Source

add check if the server instance is booted before linking it

Natenom/support-murmur-13-1446181288462
Michael Ziegler 15 years ago
parent
commit
e2ae1adb74
  1. 4
      pyweb/mumble/templates/mumble/list.html
  2. 4
      pyweb/mumble/templates/mumble/mobile_list.html

4
pyweb/mumble/templates/mumble/list.html

@ -7,7 +7,11 @@ Configured Mumble Servers
<div class="rahmen">
<ul>
{% for mumble in MumbleObjects %}
{% if mumble.booted %}
<li><a href="{% url mumble.views.show mumble.id %}">{{ mumble.name }}</a></li>
{% else %}
<li>{{ mumble.name }} (offline)</li>
{% endif %}
{% endfor %}
</ul>
</div>

4
pyweb/mumble/templates/mumble/mobile_list.html

@ -7,7 +7,11 @@ Configured Mumble Servers
<div class="rahmen">
<ul>
{% for mumble in MumbleObjects %}
{% if mumble.booted %}
<li><a href="{% url mumble.views.mobile_show mumble.id %}">{{ mumble.name }}</a></li>
{% else %}
<li>{{ mumble.name }} (offline)</li>
{% endif %}
{% endfor %}
</ul>
</div>

Loading…
Cancel
Save