diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2017-02-07 08:20:34 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2017-02-08 19:18:27 +0100 |
commit | d45585e36d6cbd9483f4a5b18cbbc346757ca6a0 (patch) | |
tree | ff6253e6dae746c19ebc8911e07d1f7019c08d10 /web/html/home.php | |
parent | 880d25e98c3efd406532a1b460e32b6350c9e39c (diff) | |
download | aur-d45585e36d6cbd9483f4a5b18cbbc346757ca6a0.tar.gz aur-d45585e36d6cbd9483f4a5b18cbbc346757ca6a0.tar.xz |
Add flagged packages to the dashboard
Implement a table that shows all packages which are flagged out-of-date
and either maintained or co-maintained by the currently logged in user.
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/html/home.php')
-rw-r--r-- | web/html/home.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/web/html/home.php b/web/html/home.php index 08ae59f6..62409af7 100644 --- a/web/html/home.php +++ b/web/html/home.php @@ -21,6 +21,18 @@ if (isset($_COOKIE["AURSID"])) { <div id="intro" class="box"> <?php if (isset($_COOKIE["AURSID"])): ?> <h2><?= __("Dashboard"); ?></h2> + <h3><?= __("My Flagged Packages"); ?></h3> + <?php + $params = array( + 'PP' => 50, + 'SeB' => 'M', + 'K' => username_from_sid($_COOKIE["AURSID"]), + 'outdated' => 'on', + 'SB' => 'l', + 'SO' => 'a' + ); + pkg_search_page($params, false, $_COOKIE["AURSID"]); + ?> <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( |