Use a link to accept orphan requests
commit0ffa0679d214016511d07509774fcab5f3c56687
authorEli Schwartz <eschwartz@archlinux.org>
Thu, 10 May 2018 21:17:05 +0000 (10 17:17 -0400)
committerLukas Fleischer <lfleischer@archlinux.org>
Fri, 11 May 2018 09:23:52 +0000 (11 11:23 +0200)
tree0ec13781abd87251e1e994dd9343165146244221
parentce93360257f3b4ef60035a75708148fc814811c1
Use a link to accept orphan requests

Currently, a form is used instead of a link. This forwards to a
confirmation page, and currently drops the "via" parameter in the
process.

As a result, accepted orphan requests usually show:

    Request #XXXXXX has been accepted automatically by the Arch User
    Repository package request system:

    The user YYYYYYY disowned the package.

This is wrong, and should show (will show, if you manually add it or use
the close button instead of the accept button):

    Request #XXXXXX has been rejected by YYYYYYY [1]:

Fixes FS#56606.

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
web/template/pkgreq_results.php