housekeep: TU rename - /tu routes

Change /tu to /package-maintainer

Signed-off-by: moson <moson@archlinux.org>
This commit is contained in:
moson 2023-09-10 08:49:59 +02:00
parent 9730122da9
commit 49b7fa37f3
No known key found for this signature in database
GPG key ID: 4A4760AB4EE15296
13 changed files with 68 additions and 62 deletions

View file

@ -39,7 +39,7 @@
{# Only CRED_PM_LIST_VOTES privileged users see Package Maintainer #}
{% if request.user.has_credential(creds.PM_LIST_VOTES) %}
<li>
<a href="/tu">{% trans %}Package Maintainer{% endtrans %}</a>
<a href="/package-maintainer">{% trans %}Package Maintainer{% endtrans %}</a>
</li>
{% endif %}

View file

@ -24,7 +24,7 @@
</a>
</td>
<td>
<a href="/tu/{{ vote.LastVote }}">
<a href="/package-maintainer/{{ vote.LastVote }}">
{{ vote.LastVote }}
</a>
</td>

View file

@ -1,4 +1,4 @@
<form class="action-form" action="/tu/{{ proposal }}" method="POST">
<form class="action-form" action="/package-maintainer/{{ proposal }}" method="POST">
<!-- Translate each button's text but leave the value alone. -->
<fieldset>
<button type="submit" class="button" name="decision" value="Yes">

View file

@ -44,7 +44,7 @@
<td>
<!-- Truncate the agenda back to prev_len. -->
{% set agenda = result.Agenda[:prev_len] %}
<a href="/tu/{{ result.ID }}">{{ agenda }}</a>
<a href="/package-maintainer/{{ result.ID }}">{{ agenda }}</a>
</td>
<td>{{ date_display(result.Submitted) }}</td>