summaryrefslogtreecommitdiffstats
path: root/web/html/home.php
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2017-02-04 11:04:26 +0100
committerLukas Fleischer <lfleischer@archlinux.org>2017-02-08 19:18:26 +0100
commita1890d400b2eefeaf20c80701951af6b2a8ff55e (patch)
tree9bc6cca9005b2dc739e696f5946efc0ac0e51b94 /web/html/home.php
parent555cdac2db5ebab48ef8abf66488fd27fb500aa7 (diff)
downloadaur-a1890d400b2eefeaf20c80701951af6b2a8ff55e.tar.gz
aur-a1890d400b2eefeaf20c80701951af6b2a8ff55e.tar.xz
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>
Diffstat (limited to 'web/html/home.php')
-rw-r--r--web/html/home.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/html/home.php b/web/html/home.php
index ff9caa7c..08ae59f6 100644
--- a/web/html/home.php
+++ b/web/html/home.php
@@ -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&amp;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&amp;K=<?= username_from_sid($_COOKIE["AURSID"]); ?>"><?= __('more') ?></a>)</span></h3>
<?php
$params = array(
'PP' => 50,