diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2017-02-07 08:51:15 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2017-02-08 19:18:27 +0100 |
commit | 2bc208c13e3a48980e295bd0b444c99ada163865 (patch) | |
tree | ff35da069194a38477d2e8e3f6dec1f36123dc8c /web | |
parent | 403241baa34c75ed4942926cf667094f6036b773 (diff) | |
download | aur-2bc208c13e3a48980e295bd0b444c99ada163865.tar.gz aur-2bc208c13e3a48980e295bd0b444c99ada163865.tar.xz |
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>
Diffstat (limited to 'web')
-rw-r--r-- | web/html/home.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/web/html/home.php b/web/html/home.php index 62409af7..381cb71f 100644 --- a/web/html/home.php +++ b/web/html/home.php @@ -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( |