[aur-dev] [PATCH 3/3] Add links to all owned packages to the dashboard
Lukas Fleischer
lfleischer at archlinux.org
Sat Feb 4 23:23:00 UTC 2017
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 at archlinux.org>
---
web/html/home.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/html/home.php b/web/html/home.php
index ff9caa7..08ae59f 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&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,
--
2.11.1
More information about the aur-dev
mailing list