2022-05-30 06:59:53 +00:00
|
|
|
{% extends "organization/home-base.html" %}
|
2020-01-21 06:35:58 +00:00
|
|
|
|
2022-05-30 06:59:53 +00:00
|
|
|
{% block middle_content %}
|
2020-01-21 06:35:58 +00:00
|
|
|
{% include "organization/requests/tabs.html" %}
|
|
|
|
|
|
|
|
{% if requests %}
|
2021-10-10 22:37:15 +00:00
|
|
|
<table class="table">
|
2020-01-21 06:35:58 +00:00
|
|
|
<tr>
|
|
|
|
<th>{{ _('User') }}</th>
|
|
|
|
<th>{{ _('Time') }}</th>
|
|
|
|
<th>{{ _('State') }}</th>
|
|
|
|
<th>{{ _('Reason') }}</th>
|
|
|
|
</tr>
|
|
|
|
{% for r in requests %}
|
|
|
|
<tr id="request-{{ r.id }}">
|
|
|
|
<td>{{ link_user(r.user) }}</td>
|
|
|
|
<td>
|
|
|
|
<a href="{{ url('request_organization_detail', object.id, object.slug, r.id) }}">
|
2022-05-30 06:59:53 +00:00
|
|
|
{{- r.time|date(_("N j, Y, g:i a")) -}}
|
2020-01-21 06:35:58 +00:00
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
<td>{{ r.state }}</td>
|
|
|
|
<td>{{ r.reason|truncatechars(50) }}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
{% else %}
|
|
|
|
<p>{{ _('There are no requests to approve.') }}</p>
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|