Move package search links on the dashboard

Message ID 20170212114348.9422-1-lfleischer@archlinux.org
State Accepted, archived
Headers show

Commit Message

Lukas Fleischer Feb. 12, 2017, 11:43 a.m. UTC
Move the package search links below the section headings.

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

Patch

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&amp;K=<?= username_from_sid($_COOKIE["AURSID"]); ?>"><?= __('more') ?></a>)</span></h2>
+			<h2><?= __("My Packages"); ?></h2>
+			<p><a href="<?= get_uri('/packages/') ?>?SeB=m&amp;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&amp;K=<?= username_from_sid($_COOKIE["AURSID"]); ?>"><?= __('more') ?></a>)</span></h2>
+			<h2><?= __("Co-Maintained Packages"); ?></h2>
+			<p><a href="<?= get_uri('/packages/') ?>?SeB=c&amp;K=<?= username_from_sid($_COOKIE["AURSID"]); ?>"><?= __('Search for packages I co-maintain') ?></a></p>
 			<?php
 			$params = array(
 				'PP' => 50,