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.

39 lines
1.8 KiB

  1. {% comment %}
  2. <!-- kate: space-indent on; indent-width 2; replace-tabs on; -->
  3. {% endcomment %}
  4. {% load mumble_extras %}
  5. {% load i18n %}
  6. <div class="mumble" style="background-image: url( {{MUMBLE_MEDIA_PREFIX}}/img/linie_v.png )">
  7. <span class="mumble">
  8. {% if Player.isAuthed %}
  9. <img src="{{MUMBLE_MEDIA_PREFIX}}/img/authenticated.png" alt="authed" title="{% trans "Authenticated" %}" />
  10. {% endif %}
  11. {% if Player.mute %}
  12. <img src="{{MUMBLE_MEDIA_PREFIX}}/img/muted_server.png" alt="muted" title="{% trans "Muted" %}" />
  13. {% endif %}
  14. {% if Player.suppress %}
  15. <img src="{{MUMBLE_MEDIA_PREFIX}}/img/muted_suppressed.png" alt="muted" title="{% trans "Suppressed" %}" />
  16. {% endif %}
  17. {% if Player.deaf %}
  18. <img src="{{MUMBLE_MEDIA_PREFIX}}/img/deafened_server.png" alt="deafened" title="{% trans "Deafened" %}" />
  19. {% endif %}
  20. {% if Player.selfMute %}
  21. <img src="{{MUMBLE_MEDIA_PREFIX}}/img/muted_self.png" alt="self-muted" title="{% trans "Muted by self" %}" />
  22. {% endif %}
  23. {% if Player.selfDeaf %}
  24. <img src="{{MUMBLE_MEDIA_PREFIX}}/img/deafened_self.png" alt="self-deafened" title="{% trans "Deafened by self" %}" />
  25. {% endif %}
  26. {% if Player.hasComment %}
  27. <img src="{{MUMBLE_MEDIA_PREFIX}}/img/comment.png" alt="has comment" title="{% trans "has a User Comment set" %}" />
  28. {% endif %}
  29. </span>
  30. <span>
  31. <img src="{{MUMBLE_MEDIA_PREFIX}}/img/knoten_v.png" alt="" />
  32. {% if Player.isTalking %}
  33. <img src="{{MUMBLE_MEDIA_PREFIX}}/img/talking_on.png" alt="Player" />
  34. {% else %}
  35. <img src="{{MUMBLE_MEDIA_PREFIX}}/img/talking_off.png" alt="Player" />
  36. {% endif %}
  37. <a id="link_{{ Player.id }}" class="mumble" href="#" title="{{ Player.name }}">{{ Player.name|trunc:30 }}</a>
  38. </span>
  39. </div>