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.2 KiB

16 years ago
16 years ago
16 years ago
  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="{% url mumble.views.show mm.server.id %}">{{ mm.server.name }}</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="{% url admin:index %}">(admin area)</a> {% else %} no {% endif %}</li>
  28. <li>Sign-up date: {{ user.date_joined|date }} {{ user.date_joined|time }}</li>
  29. <li>Last login: {{ user.last_login|date }} {{ user.last_login|time }}</li>
  30. <li><a href="{% url django.contrib.auth.views.password_change %}">Change Password</a></li>
  31. <li><a href="{% url django.contrib.auth.views.logout %}">Logout</a></li>
  32. </ul>
  33. </div>
  34. {% endblock %}