Commit 1e3a7179 authored by Lukas Fleischer's avatar Lukas Fleischer
Browse files

Clarify that HTTPs clone URIs are for read-only access



Fixes FS#45335.
Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <lfleischer@archlinux.org>
parent cb19c4a5
......@@ -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; ?>
......
......@@ -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; ?>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment