[aur-dev] [PATCH] Move package search links on the dashboard

Lukas Fleischer lfleischer at archlinux.org
Sun Feb 12 11:43:48 UTC 2017


Move the package search links below the section headings.

Signed-off-by: Lukas Fleischer <lfleischer at archlinux.org>
---
 web/html/home.php | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/web/html/home.php b/web/html/home.php
index 1652541..ee7caf7 100644
--- a/web/html/home.php
+++ b/web/html/home.php
@@ -41,7 +41,8 @@ if (isset($_COOKIE["AURSID"])) {
 			?>
 		</div>
 		<div id="intro" class="box">
-			<h2><?= __("My Packages"); ?> <span class="more">(<a href="<?= get_uri('/packages/') ?>?SeB=m&K=<?= username_from_sid($_COOKIE["AURSID"]); ?>"><?= __('more') ?></a>)</span></h2>
+			<h2><?= __("My Packages"); ?></h2>
+			<p><a href="<?= get_uri('/packages/') ?>?SeB=m&K=<?= username_from_sid($_COOKIE["AURSID"]); ?>"><?= __('Search for packages I maintain') ?></a></p>
 			<?php
 			$params = array(
 				'PP' => 50,
@@ -54,7 +55,8 @@ if (isset($_COOKIE["AURSID"])) {
 			?>
 		</div>
 		<div id="intro" class="box">
-			<h2><?= __("Co-Maintained Packages"); ?> <span class="more">(<a href="<?= get_uri('/packages/') ?>?SeB=c&K=<?= username_from_sid($_COOKIE["AURSID"]); ?>"><?= __('more') ?></a>)</span></h2>
+			<h2><?= __("Co-Maintained Packages"); ?></h2>
+			<p><a href="<?= get_uri('/packages/') ?>?SeB=c&K=<?= username_from_sid($_COOKIE["AURSID"]); ?>"><?= __('Search for packages I co-maintain') ?></a></p>
 			<?php
 			$params = array(
 				'PP' => 50,
-- 
2.11.1


More information about the aur-dev mailing list