mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Add requests to dashboard
Add a new table which shows all package requests affecting the currently logged in user. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
403241baa3
commit
2bc208c13e
1 changed files with 6 additions and 0 deletions
|
@ -33,6 +33,12 @@ if (isset($_COOKIE["AURSID"])) {
|
|||
);
|
||||
pkg_search_page($params, false, $_COOKIE["AURSID"]);
|
||||
?>
|
||||
<h3><?= __("My Requests"); ?></h3>
|
||||
<?php
|
||||
$results = pkgreq_list(0, 50, uid_from_sid($_COOKIE["AURSID"]));
|
||||
$show_headers = false;
|
||||
include('pkgreq_results.php');
|
||||
?>
|
||||
<h3><?= __("My Packages"); ?> <span class="more">(<a href="<?= get_uri('/packages/') ?>?SeB=m&K=<?= username_from_sid($_COOKIE["AURSID"]); ?>"><?= __('more') ?></a>)</span></h3>
|
||||
<?php
|
||||
$params = array(
|
||||
|
|
Loading…
Add table
Reference in a new issue