summaryrefslogtreecommitdiffstats
path: root/web/template
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-07-04 11:00:07 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2014-07-04 11:10:50 +0200
commit4645bcbacbc4fd2fba2a3f28d6cd23bdfb184a9d (patch)
treebf76716bc018a15d0206b61816f3e945a14912e1 /web/template
parent8a465182babccec10b8e789dbc871db3beb9bec5 (diff)
downloadaur-4645bcbacbc4fd2fba2a3f28d6cd23bdfb184a9d.tar.gz
aur-4645bcbacbc4fd2fba2a3f28d6cd23bdfb184a9d.tar.xz
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>
Diffstat (limited to 'web/template')
-rw-r--r--web/template/pkgreq_close_form.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/web/template/pkgreq_close_form.php b/web/template/pkgreq_close_form.php
index be36aefb..00efafef 100644
--- a/web/template/pkgreq_close_form.php
+++ b/web/template/pkgreq_close_form.php
@@ -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 ?>" />
@@ -16,6 +20,10 @@
</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>
</fieldset>