mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
feat: add "Last Updated" column to search results
Signed-off-by: moson-mo <mo-son@mailbox.org>
This commit is contained in:
parent
becce1aac4
commit
ec239ceeb3
3 changed files with 23 additions and 1 deletions
|
@ -68,6 +68,16 @@
|
|||
{{ "Maintainer" | tr }}
|
||||
</a>
|
||||
</th>
|
||||
<th>
|
||||
{% if SB == "l" %}
|
||||
{% set order = reverse_order %}
|
||||
{% else %}
|
||||
{% set order = SO %}
|
||||
{% endif %}
|
||||
<a href="/packages?{{ q | extend_query(('O', 0), ('SB', 'l'), ('SO', order)) | urlencode }}">
|
||||
{{ "Last Updated" | tr }}
|
||||
</a>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
@ -115,6 +125,11 @@
|
|||
<span class="error">{{ "orphan" | tr }}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
{% if flagged %}
|
||||
<td class="flagged">{{ datetime_display(pkg.ModifiedTS) }}</td>
|
||||
{% else %}
|
||||
<td>{{ datetime_display(pkg.ModifiedTS) }}</td>
|
||||
{% endif %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue