mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Add links to all owned packages to the dashboard
In addition to showing the 50 most recent maintained and co-maintained packages, add links to all packages one owns or co-maintains. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
555cdac2db
commit
a1890d400b
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ if (isset($_COOKIE["AURSID"])) {
|
|||
<div id="intro" class="box">
|
||||
<?php if (isset($_COOKIE["AURSID"])): ?>
|
||||
<h2><?= __("Dashboard"); ?></h2>
|
||||
<h3><?= __("My Packages"); ?></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
|
||||
$params = array(
|
||||
'PP' => 50,
|
||||
|
@ -32,7 +32,7 @@ if (isset($_COOKIE["AURSID"])) {
|
|||
);
|
||||
pkg_search_page($params, false, $_COOKIE["AURSID"]);
|
||||
?>
|
||||
<h3><?= __("Co-Maintained Packages"); ?></h3>
|
||||
<h3><?= __("Co-Maintained Packages"); ?> <span class="more">(<a href="<?= get_uri('/packages/') ?>?SeB=c&K=<?= username_from_sid($_COOKIE["AURSID"]); ?>"><?= __('more') ?></a>)</span></h3>
|
||||
<?php
|
||||
$params = array(
|
||||
'PP' => 50,
|
||||
|
|
Loading…
Add table
Reference in a new issue