mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
880d25e98c
commit
d45585e36d
1 changed files with 12 additions and 0 deletions
|
@ -21,6 +21,18 @@ if (isset($_COOKIE["AURSID"])) {
|
||||||
<div id="intro" class="box">
|
<div id="intro" class="box">
|
||||||
<?php if (isset($_COOKIE["AURSID"])): ?>
|
<?php if (isset($_COOKIE["AURSID"])): ?>
|
||||||
<h2><?= __("Dashboard"); ?></h2>
|
<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>
|
<h3><?= __("My Packages"); ?> <span class="more">(<a href="<?= get_uri('/packages/') ?>?SeB=m&K=<?= username_from_sid($_COOKIE["AURSID"]); ?>"><?= __('more') ?></a>)</span></h3>
|
||||||
<?php
|
<?php
|
||||||
$params = array(
|
$params = array(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue