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.

38 lines
1.0 KiB

  1. {% extends "index.htm" %}
  2. {% load i18n %}
  3. {% block Headline %}Profil{% endblock %}
  4. {% block Content %}
  5. <h2>Profil von {{user|capfirst}}</h2>
  6. <div>
  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 }} auf <a href="/mumble/{{mm.server.id}}">{{ mm.server.name }}</a><br />
  15. <a href="/mumble/reg/{{mm.server.id}}">Set Password</a>
  16. </li>
  17. {% endfor %}
  18. </ul>
  19. </li>
  20. {% endif %}
  21. </ul>
  22. </div>
  23. <div>
  24. <h4>Account</h4>
  25. <ul>
  26. <li>Full Name: {{ user.first_name }} {{ user.last_name }}</li>
  27. <li>E-Mail Adress: {{ user.email }}</li>
  28. <li>Staff: {% if user.is_staff %} yes <a href="/admin">(admin area)</a> {% else %} no {% endif %}</li>
  29. <li>Sign-up date: {{ user.date_joined }}</li>
  30. <li>Last login: {{ user.last_login }}</li>
  31. <li><a href="/accounts/password/change">Change Password</a></li>
  32. <li><a href="/accounts/logout">Logout</a></li>
  33. </ul>
  34. </div>
  35. {% endblock %}