template: Added missing back link.
This commit is contained in:
parent
36f5c97dbe
commit
404bf7f0b5
@ -1,4 +1,4 @@
|
|||||||
{% extends "participant/base_participant.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% load tags %}
|
{% load tags %}
|
||||||
@ -7,16 +7,22 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<h1>{{ group }}</h1>
|
<h1>{{ group }}
|
||||||
|
<small class="pull-right">
|
||||||
|
<a href="{% url 'user_group_overview' %}" class="btn btn-mini"><i class="icon-chevron-left"></i> {% trans "Back to overview" %}</a>
|
||||||
|
</small>
|
||||||
|
</h1>
|
||||||
|
|
||||||
<p>{{ group.description }}</p>
|
<p>{{ group.description }}</p>
|
||||||
|
|
||||||
<h2>{% trans "Members" %}</h2>
|
<h4>{% trans "Members" %}</h4>
|
||||||
|
|
||||||
|
<ol>
|
||||||
{% for member in group.user_set.all %}
|
{% for member in group.user_set.all %}
|
||||||
<p>{{ member }}</p>
|
<li>{{ member }}</li>
|
||||||
{% empty %}
|
{% empty %}
|
||||||
<p>{% trans "No members available." %}</p>
|
<p>{% trans "No members available." %}</p>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
</ol>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -116,8 +116,8 @@
|
|||||||
</tr>
|
</tr>
|
||||||
{% for user in users %}
|
{% for user in users %}
|
||||||
<tr class="{% if user.active %}activeline{% endif %}">
|
<tr class="{% if user.active %}activeline{% endif %}">
|
||||||
<td>{{ user.first_name }}</td>
|
<td><a href="{% url 'user_view' user.id %}">{{ user.first_name }}</a></td>
|
||||||
<td>{{ user.last_name }}</td>
|
<td><a href="{% url 'user_view' user.id %}">{{ user.last_name }}</a></td>
|
||||||
<td class="optional">{{ user.structure_level }}</td>
|
<td class="optional">{{ user.structure_level }}</td>
|
||||||
<td class="optional">{{ user.get_type_display }}</td>
|
<td class="optional">{{ user.get_type_display }}</td>
|
||||||
<td class="optional">{{ user.committee }}</td>
|
<td class="optional">{{ user.committee }}</td>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends "participant/base_participant.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% load tags %}
|
{% load tags %}
|
||||||
@ -7,11 +7,15 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<h1>{{ shown_user }}</h1>
|
<h1>{{ shown_user }}
|
||||||
|
<small class="pull-right">
|
||||||
|
<a href="{% url 'user_overview' %}" class="btn btn-mini"><i class="icon-chevron-left"></i> {% trans "Back to overview" %}</a>
|
||||||
|
</small>
|
||||||
|
</h1>
|
||||||
|
|
||||||
<p>{{ shown_user.email }}</p>
|
<p>{{ shown_user.email }}</p>
|
||||||
|
|
||||||
<h2>{% trans "Groups" %}</h2>
|
<h4>{% trans "Groups" %}</h4>
|
||||||
<p>
|
<p>
|
||||||
{% if shown_user.groups.all %}
|
{% if shown_user.groups.all %}
|
||||||
{{ shown_user.groups.all|join:", " }}
|
{{ shown_user.groups.all|join:", " }}
|
||||||
@ -21,32 +25,32 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
{% if shown_user.get_gender_display %}
|
{% if shown_user.get_gender_display %}
|
||||||
<h2>{% trans "Gender" %}</h2>
|
<h4>{% trans "Gender" %}</h4>
|
||||||
<p>{{ shown_user.get_gender_display }}</p>
|
<p>{{ shown_user.get_gender_display }}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if shown_user.get_type_display %}
|
{% if shown_user.get_type_display %}
|
||||||
<h2>{% trans "Type" %}</h2>
|
<h4>{% trans "Type" %}</h4>
|
||||||
<p>{{ shown_user.get_type_display }}</p>
|
<p>{{ shown_user.get_type_display }}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if shown_user.committee %}
|
{% if shown_user.committee %}
|
||||||
<h2>{% trans "Committee" %}</h2>
|
<h4>{% trans "Committee" %}</h4>
|
||||||
<p>{{ shown_user.committee }}</p>
|
<p>{{ shown_user.committee }}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if shown_user.about_me %}
|
{% if shown_user.about_me %}
|
||||||
<h2>{% trans "About me" %}</h2>
|
<h4>{% trans "About me" %}</h4>
|
||||||
<p>{{ shown_user.about_me }}</p>
|
<p>{{ shown_user.about_me }}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if perms.participant.can_manage_participant %}
|
{% if perms.participant.can_manage_participant %}
|
||||||
{% if shown_user.comment %}
|
{% if shown_user.comment %}
|
||||||
<h2>{% trans "Comment" %}</h2>
|
<h4>{% trans "Comment" %}</h4>
|
||||||
<p>{{ shown_user.comment }}</p>
|
<p>{{ shown_user.comment }}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<h2>{% trans "Last Login" %}</h2>
|
<h4>{% trans "Last Login" %}</h4>
|
||||||
{% if shown_user.last_login > shown_user.date_joined %}
|
{% if shown_user.last_login > shown_user.date_joined %}
|
||||||
<p>{{ shown_user.last_login }}</p>
|
<p>{{ shown_user.last_login }}</p>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
Loading…
Reference in New Issue
Block a user