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
|
@ -28,7 +28,7 @@
|
|||
off = current_off,
|
||||
by = current_by
|
||||
%}
|
||||
{% include "partials/tu/proposals.html" %}
|
||||
{% include "partials/package-maintainer/proposals.html" %}
|
||||
{% endwith %}
|
||||
|
||||
{%
|
||||
|
@ -42,10 +42,10 @@
|
|||
off = past_off,
|
||||
by = past_by
|
||||
%}
|
||||
{% include "partials/tu/proposals.html" %}
|
||||
{% include "partials/package-maintainer/proposals.html" %}
|
||||
{% endwith %}
|
||||
|
||||
{% with title = "Last Votes by Package Maintainer", votes = last_votes_by_pm %}
|
||||
{% include "partials/tu/last_votes.html" %}
|
||||
{% include "partials/package-maintainer/last_votes.html" %}
|
||||
{% endwith %}
|
||||
{% endblock %}
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
{% block pageContent %}
|
||||
<div class="box">
|
||||
{% include "partials/tu/proposal/details.html" %}
|
||||
{% include "partials/package-maintainer/proposal/details.html" %}
|
||||
</div>
|
||||
|
||||
{% if utcnow >= voteinfo.End %}
|
||||
<div class="box">
|
||||
{% include "partials/tu/proposal/voters.html" %}
|
||||
{% include "partials/package-maintainer/proposal/voters.html" %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
|||
{% if error %}
|
||||
<span class="status">{{ error | tr }}</span>
|
||||
{% else %}
|
||||
{% include "partials/tu/proposal/form.html" %}
|
||||
{% include "partials/package-maintainer/proposal/form.html" %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endblock %}
|
|
@ -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 %}
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="/tu/{{ vote.LastVote }}">
|
||||
<a href="/package-maintainer/{{ vote.LastVote }}">
|
||||
{{ vote.LastVote }}
|
||||
</a>
|
||||
</td>
|
|
@ -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">
|
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue