mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
feature: allow co-maintainers to disown their pkg
Derived off of original work done by Leonidas Spyropoulos at https://gitlab.archlinux.org/archlinux/aurweb/-/merge_requests/503 This revision of that original work finishes off the inconsistencies mentioned in the original MR and adds a small bit of testing for more regression checks. Fixes: #360 Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
ab2956eef7
commit
08d485206c
5 changed files with 123 additions and 35 deletions
|
@ -27,14 +27,16 @@
|
|||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
{{
|
||||
"This action will close any pending package requests "
|
||||
"related to it. If %sComments%s are omitted, a closure "
|
||||
"comment will be autogenerated."
|
||||
| tr | format("<em>", "</em>") | safe
|
||||
}}
|
||||
</p>
|
||||
{% if not is_maint and not is_comaint %}
|
||||
<p>
|
||||
{{
|
||||
"This action will close any pending package requests "
|
||||
"related to it. If %sComments%s are omitted, a closure "
|
||||
"comment will be autogenerated."
|
||||
| tr | format("<em>", "</em>") | safe
|
||||
}}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
<p>
|
||||
{{
|
||||
|
@ -47,14 +49,18 @@
|
|||
<fieldset>
|
||||
<input type="hidden" name="next" value="{{ next }}" />
|
||||
|
||||
<p>
|
||||
<label for="id_comments">{{ "Comments" | tr }}:</label>
|
||||
<textarea id="id_comments"
|
||||
name="comments"
|
||||
rows="5" cols="50"
|
||||
placeholder="Related package request closure comments..."
|
||||
></textarea>
|
||||
</p>
|
||||
{% if not is_maint and not is_comaint %}
|
||||
<p>
|
||||
<label for="id_comments">{{ "Comments" | tr }}:</label>
|
||||
<textarea id="id_comments"
|
||||
name="comments"
|
||||
rows="5" cols="50"
|
||||
placeholder="Related package request closure comments..."
|
||||
></textarea>
|
||||
</p>
|
||||
{% else %}
|
||||
<input type="hidden" name="comments" value="">
|
||||
{% endif %}
|
||||
|
||||
<p>
|
||||
<label class="confirmation">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue