[aur-dev] [PATCH 07/13] pkg_details.php: Add link to package base details

Lukas Fleischer archlinux at cryptocrack.de
Sat Apr 5 07:59:47 EDT 2014


Signed-off-by: Lukas Fleischer <archlinux at cryptocrack.de>
---
 web/template/pkg_details.php | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php
index bd08282..d4e4e4e 100644
--- a/web/template/pkg_details.php
+++ b/web/template/pkg_details.php
@@ -112,6 +112,10 @@ $sources = package_sources($row["ID"]);
 
 	<table id="pkginfo">
 		<tr>
+			<th><?= __('Package Base') . ': ' ?></th>
+			<td class="wrap"><a href="<?= htmlspecialchars(get_pkgbase_uri($row['BaseName']), ENT_QUOTES); ?>"><?= htmlspecialchars($row['BaseName']); ?></a></td>
+		</tr>
+		<tr>
 			<th><?= __('Description') . ': ' ?></th>
 			<td class="wrap"><?= htmlspecialchars($row['Description']); ?></td>
 		</tr>
-- 
1.9.1



More information about the aur-dev mailing list