mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Allow for adding a comment when closing a request
This allows Trusted Users to optionally add a comment when closing a request. The comment is included in the notification email that is sent to the requests mailing list. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
8a465182ba
commit
4645bcbacb
4 changed files with 20 additions and 6 deletions
|
@ -4,6 +4,10 @@
|
|||
<?= __('Use this form to close the request for package base %s%s%s.',
|
||||
'<strong>', htmlspecialchars($pkgbase_name), '</strong>'); ?>
|
||||
</p>
|
||||
<p>
|
||||
<em><?= __('Note') ?>:</em>
|
||||
<?= __('The comments field can be left empty. However, it is highly recommended to add a comment when rejecting a request.') ?>
|
||||
</p>
|
||||
<form action="<?= get_uri('/pkgbase/'); ?>" method="post">
|
||||
<fieldset>
|
||||
<input type="hidden" name="reqid" value="<?= $pkgreq_id ?>" />
|
||||
|
@ -15,6 +19,10 @@
|
|||
<option value="rejected"><?= __('Rejected') ?></option>
|
||||
</select>
|
||||
</p>
|
||||
<p>
|
||||
<label for="id_comments"><?= __("Comments") ?>:</label>
|
||||
<textarea name="comments" id="id_comments" rows="5" cols="50"></textarea>
|
||||
</p>
|
||||
<p>
|
||||
<input type="submit" class="button" name="do_CloseRequest" value="<?= __("Close Request") ?>" />
|
||||
</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue