Make invite requests sort-able
This commit is contained in:
parent
821baa5f18
commit
b5e98e0bdf
2 changed files with 16 additions and 3 deletions
|
@ -27,10 +27,17 @@
|
|||
</h2>
|
||||
|
||||
<table class="table is-striped">
|
||||
{% url 'settings-invite-requests' as url %}
|
||||
<tr>
|
||||
<th>{% trans "Date" %}</th>
|
||||
<th>
|
||||
{% trans "Date" as text %}
|
||||
{% include 'snippets/table-sort-header.html' with field="created_date" sort=sort text=text %}
|
||||
</th>
|
||||
<th>{% trans "Email" %}</th>
|
||||
<th>{% trans "Status" %}</th>
|
||||
<th>
|
||||
{% trans "Status" as text %}
|
||||
{% include 'snippets/table-sort-header.html' with field="invite__times_used" sort=sort text=text %}
|
||||
</th>
|
||||
<th>{% trans "Action" %}</th>
|
||||
</tr>
|
||||
{% if not requests %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue