mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Let co-maintainers see the private clone URI
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
918f00f9a2
commit
885a2d2dca
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ $sources = pkg_sources($row["ID"]);
|
||||||
<th><?= __('Git Clone URL') . ': ' ?></th>
|
<th><?= __('Git Clone URL') . ': ' ?></th>
|
||||||
<td>
|
<td>
|
||||||
<a href="<?= $git_clone_uri_anon ?>"><?= $git_clone_uri_anon ?></a> (<?= __('read-only') ?>)
|
<a href="<?= $git_clone_uri_anon ?>"><?= $git_clone_uri_anon ?></a> (<?= __('read-only') ?>)
|
||||||
<?php if ($uid == $row["MaintainerUID"]): ?>
|
<?php if (in_array($uid, $maintainers)): ?>
|
||||||
<br /> <a href="<?= $git_clone_uri_priv ?>"><?= $git_clone_uri_priv ?></a>
|
<br /> <a href="<?= $git_clone_uri_priv ?>"><?= $git_clone_uri_priv ?></a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Add table
Reference in a new issue