summaryrefslogtreecommitdiffstats
path: root/web/template/pkg_details.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/template/pkg_details.php')
-rw-r--r--web/template/pkg_details.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php
index a94042c9..90360769 100644
--- a/web/template/pkg_details.php
+++ b/web/template/pkg_details.php
@@ -1,6 +1,7 @@
<?php
$cgit_uri = config_get('options', 'cgit_uri');
+$git_clone_uri = config_get('options', 'git_clone_uri');
$uid = uid_from_sid($SID);
@@ -158,6 +159,10 @@ $sources = pkg_sources($row["ID"]);
<table id="pkginfo">
<tr>
+ <th><?= __('Git Clone URL') . ': ' ?></th>
+ <td><?= sprintf($git_clone_uri, htmlspecialchars($row['BaseName'])) ?></td>
+ </tr>
+ <tr>
<th><?= __('Package Base') . ': ' ?></th>
<td class="wrap"><a href="<?= htmlspecialchars(get_pkgbase_uri($row['BaseName']), ENT_QUOTES); ?>"><?= htmlspecialchars($row['BaseName']); ?></a></td>
</tr>