aurweb/templates/partials/package-maintainer/last_votes.html
moson 148c882501
housekeep: TU rename - /tu routes
Change /tu to /package-maintainer

Signed-off-by: moson <moson@archlinux.org>
2023-09-30 16:45:04 +02:00

37 lines
1.1 KiB
HTML

<div class="box">
<h2>{% trans %}{{ title }}{% endtrans %}</h2>
<table class="results last-votes">
<thead>
<th>{{ "User" | tr }}</th>
<th>{{ "Last vote" | tr }}</th>
</thead>
<tbody>
{% if not votes %}
<tr>
<td align="center" colspan="0">
{{ "No results found." | tr }}
</td>
<td></td>
</tr>
{% else %}
{% for vote in votes %}
<tr>
<td>
<a href="/account/{{ vote.Username }}">
{{ vote.Username }}
</a>
</td>
<td>
<a href="/package-maintainer/{{ vote.LastVote }}">
{{ vote.LastVote }}
</a>
</td>
</tr>
{% endfor %}
{% endif %}
</tbody>
</table>
</div>