mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
housekeep: TU rename - /tu routes
Change /tu to /package-maintainer Signed-off-by: moson <moson@archlinux.org>
This commit is contained in:
parent
f540c79580
commit
148c882501
13 changed files with 68 additions and 62 deletions
37
templates/partials/package-maintainer/last_votes.html
Normal file
37
templates/partials/package-maintainer/last_votes.html
Normal file
|
@ -0,0 +1,37 @@
|
|||
<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>
|
Loading…
Add table
Add a link
Reference in a new issue