[aur-dev] [PATCH] Display versioned conflicts/provides/replaces
Show the specific conflicts/provides/replaces versions in the web interface. Implements FS#40699. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> --- web/template/pkg_details.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php index 19daefc..c813e35 100644 --- a/web/template/pkg_details.php +++ b/web/template/pkg_details.php @@ -213,9 +213,9 @@ if ($SID && ($uid == $row["MaintainerUID"] || <?php foreach($rels_c as $rarr): ?> <span class="related"> <?php if ($rarr !== end($rels_c)): ?> - <?= htmlspecialchars($rarr[0]) ?>, + <?= htmlspecialchars($rarr[0] . $rarr[2]) ?>, <?php else: ?> - <?= htmlspecialchars($rarr[0]) ?> + <?= htmlspecialchars($rarr[0] . $rarr[2]) ?> <?php endif; ?> </span> <?php endforeach; ?> @@ -229,9 +229,9 @@ if ($SID && ($uid == $row["MaintainerUID"] || <?php foreach($rels_p as $rarr): ?> <span class="related"> <?php if ($rarr !== end($rels_p)): ?> - <?= htmlspecialchars($rarr[0]) ?>, + <?= htmlspecialchars($rarr[0] . $rarr[2]) ?>, <?php else: ?> - <?= htmlspecialchars($rarr[0]) ?> + <?= htmlspecialchars($rarr[0] . $rarr[2]) ?> <?php endif; ?> </span> <?php endforeach; ?> @@ -245,9 +245,9 @@ if ($SID && ($uid == $row["MaintainerUID"] || <?php foreach($rels_r as $rarr): ?> <span class="related"> <?php if ($rarr !== end($rels_r)): ?> - <?= htmlspecialchars($rarr[0]) ?>, + <?= htmlspecialchars($rarr[0] . $rarr[2]) ?>, <?php else: ?> - <?= htmlspecialchars($rarr[0]) ?> + <?= htmlspecialchars($rarr[0] . $rarr[2]) ?> <?php endif; ?> </span> <?php endforeach; ?> -- 2.0.0
participants (1)
-
Lukas Fleischer