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
37 lines
1.2 KiB
{% extends "index.htm" %}
|
|
{% load i18n %}
|
|
|
|
{% block Headline %}Profile{% endblock %}
|
|
|
|
{% block Content %}
|
|
<h2 class="profile">Profile of {{user|capfirst}}</h2>
|
|
<div class="profile">
|
|
<h4>Statistics</h4>
|
|
<ul>
|
|
{% if mumbleaccs %}
|
|
<li>Mumble Accounts:
|
|
<ul>
|
|
{% for mm in mumbleaccs %}
|
|
<li>
|
|
{{ mm.name }} on Server <a href="{% url mumble.views.show mm.server.id %}">{{ mm.server.name }}</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</li>
|
|
{% endif %}
|
|
</ul>
|
|
</div>
|
|
<div class="profile">
|
|
<h4>Account</h4>
|
|
<ul>
|
|
<li>Full Name: {{ user.first_name }} {{ user.last_name }}</li>
|
|
<li>E-Mail Adress: {{ user.email }}</li>
|
|
<li>Staff: {% if user.is_staff %} yes <a href="{% url admin:index %}">(admin area)</a> {% else %} no {% endif %}</li>
|
|
<li>Sign-up date: {{ user.date_joined|date }} {{ user.date_joined|time }}</li>
|
|
<li>Last login: {{ user.last_login|date }} {{ user.last_login|time }}</li>
|
|
<li><a href="{% url django.contrib.auth.views.password_change %}">Change Password</a></li>
|
|
<li><a href="{% url django.contrib.auth.views.logout %}">Logout</a></li>
|
|
</ul>
|
|
</div>
|
|
{% endblock %}
|
|
|