Forked mumble-django project from https://bitbucket.org/Svedrin/mumble-django
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
639 B

  1. {% load mumble_extras %}
  2. <div class="mumble">
  3. <img src="/static/mumble/knoten_v.png" />
  4. {% if Channel.linked %}
  5. <img src="/static/mumble/channel_linked.png" alt="linked channel" />
  6. {% else %}
  7. <img src="/static/mumble/channel.png" alt="channel" />
  8. {% endif %}
  9. <a href="{{ Channel|chanurl:MumbleAccount }}" class="mumble" id="link_{{ Channel.id }}" title="{{ Channel.name }}">
  10. {{ Channel.name|trunc:30 }}
  11. </a>
  12. {% for sub in Channel.subchans %}
  13. {% if sub.show %}
  14. {{ sub|chanview:MumbleAccount }}
  15. {% endif %}
  16. {% endfor %}
  17. {% for player in Channel.players %}{{ player|chanview }}{% endfor %}
  18. </div>