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.

37 lines
1.1 KiB

  1. {% extends "index.htm" %}
  2. {% load i18n %}
  3. {% block Headline %}Profile{% endblock %}
  4. {% block Content %}
  5. <h2 class="profile">Profile of {{user|capfirst}}</h2>
  6. <div class="profile">
  7. <h4>Statistics</h4>
  8. <ul>
  9. {% if mumbleaccs %}
  10. <li>Mumble Accounts:
  11. <ul>
  12. {% for mm in mumbleaccs %}
  13. <li>
  14. {{ mm.name }} on Server <a href="/mumble/{{mm.server.id}}">{{ mm.server.name }}</a> (<a href="/mumble/reg/{{mm.server.id}}">Set Password</a>)
  15. </li>
  16. {% endfor %}
  17. </ul>
  18. </li>
  19. {% endif %}
  20. </ul>
  21. </div>
  22. <div class="profile">
  23. <h4>Account</h4>
  24. <ul>
  25. <li>Full Name: {{ user.first_name }} {{ user.last_name }}</li>
  26. <li>E-Mail Adress: {{ user.email }}</li>
  27. <li>Staff: {% if user.is_staff %} yes <a href="/admin">(admin area)</a> {% else %} no {% endif %}</li>
  28. <li>Sign-up date: {{ user.date_joined }}</li>
  29. <li>Last login: {{ user.last_login }}</li>
  30. <li><a href="/accounts/password/change">Change Password</a></li>
  31. <li><a href="/accounts/logout">Logout</a></li>
  32. </ul>
  33. </div>
  34. {% endblock %}