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
38 lines
1.0 KiB
{% extends "index.htm" %}
|
|
{% load i18n %}
|
|
|
|
{% block Headline %}Profil{% endblock %}
|
|
|
|
{% block Content %}
|
|
<h2>Profil von {{user|capfirst}}</h2>
|
|
<div>
|
|
<h4>Statistics</h4>
|
|
<ul>
|
|
{% if mumbleaccs %}
|
|
<li>Mumble Accounts:
|
|
<ul>
|
|
{% for mm in mumbleaccs %}
|
|
<li>
|
|
{{ mm.name }} auf <a href="/mumble/{{mm.server.id}}">{{ mm.server.name }}</a><br />
|
|
<a href="/mumble/reg/{{mm.server.id}}">Set Password</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</li>
|
|
{% endif %}
|
|
</ul>
|
|
</div>
|
|
<div>
|
|
<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="/admin">(admin area)</a> {% else %} no {% endif %}</li>
|
|
<li>Sign-up date: {{ user.date_joined }}</li>
|
|
<li>Last login: {{ user.last_login }}</li>
|
|
<li><a href="/accounts/password/change">Change Password</a></li>
|
|
<li><a href="/accounts/logout">Logout</a></li>
|
|
</ul>
|
|
</div>
|
|
{% endblock %}
|
|
|