Clarify that HTTPs clone URIs are for read-only access

Fixes FS#45335.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
Lukas Fleischer 2015-06-17 17:05:30 +02:00
parent cb19c4a50e
commit 1e3a7179bd
2 changed files with 2 additions and 2 deletions

View file

@ -171,7 +171,7 @@ $sources = pkg_sources($row["ID"]);
<tr>
<th><?= __('Git Clone URL') . ': ' ?></th>
<td>
<a href="<?= $git_clone_uri_anon ?>"><?= $git_clone_uri_anon ?></a>
<a href="<?= $git_clone_uri_anon ?>"><?= $git_clone_uri_anon ?></a> (<?= __('read-only') ?>)
<?php if ($uid == $row["MaintainerUID"]): ?>
<br /> <a href="<?= $git_clone_uri_priv ?>"><?= $git_clone_uri_priv ?></a>
<?php endif; ?>

View file

@ -122,7 +122,7 @@ $pkgs = pkgbase_get_pkgnames($base_id);
<tr>
<th><?= __('Git Clone URL') . ': ' ?></th>
<td>
<a href="<?= $git_clone_uri_anon ?>"><?= $git_clone_uri_anon ?></a>
<a href="<?= $git_clone_uri_anon ?>"><?= $git_clone_uri_anon ?></a> (<?= __('read-only') ?>)
<?php if ($uid == $row["MaintainerUID"]): ?>
<br /> <a href="<?= $git_clone_uri_priv ?>"><?= $git_clone_uri_priv ?></a>
<?php endif; ?>