[PATCH] Explain syntax/features in the comments section
Addresses FS#64983. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org> --- web/template/pkg_comment_form.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/template/pkg_comment_form.php b/web/template/pkg_comment_form.php index 3feee8f..e8a516e 100644 --- a/web/template/pkg_comment_form.php +++ b/web/template/pkg_comment_form.php @@ -8,6 +8,10 @@ <?php endif; ?> <input type="hidden" name="token" value="<?= htmlspecialchars($_COOKIE['AURSID']) ?>" /> </div> + <p> + <?= __("Git commit identifiers referencing commits in the AUR package repository and URLs are converted to links automatically.") ?> + <?= __("%sMarkdown syntax%s is partially supported.", '<a href="https://daringfireball.net/projects/markdown/syntax">', "</a>") ?> + </p> <p> <textarea id="id_comment" name="comment" cols="80" rows="10"><?= (isset($comment_id)) ? htmlspecialchars($comment) : "" ?></textarea> </p> -- 2.25.0
participants (1)
-
Lukas Fleischer