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:
Johannes Löthberg 2015-06-20 12:44:39 +02:00 committed by Lukas Fleischer
parent 918f00f9a2
commit 885a2d2dca

View file

@ -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>