diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2015-06-17 17:05:30 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-06-17 17:06:41 +0200 |
commit | 1e3a7179bda741b818d3929ef6e5a6718b2320e9 (patch) | |
tree | a84858e5fc9eca6916e36cd6814cc08a607f3e40 /web | |
parent | cb19c4a50e81186d12b0835e36ffadc689fa3e2a (diff) | |
download | aurweb-1e3a7179bda741b818d3929ef6e5a6718b2320e9.tar.xz |
Clarify that HTTPs clone URIs are for read-only access
Fixes FS#45335.
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web')
-rw-r--r-- | web/template/pkg_details.php | 2 | ||||
-rw-r--r-- | web/template/pkgbase_details.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php index ae49e24..90e5729 100644 --- a/web/template/pkg_details.php +++ b/web/template/pkg_details.php @@ -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; ?> diff --git a/web/template/pkgbase_details.php b/web/template/pkgbase_details.php index fa24e12..9989369 100644 --- a/web/template/pkgbase_details.php +++ b/web/template/pkgbase_details.php @@ -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; ?> |