Explain syntax/features in the comments section

Message ID 20200131082828.117924-1-lfleischer@archlinux.org
State New
Headers show
Series
  • Explain syntax/features in the comments section
Related show

Commit Message

Lukas Fleischer Jan. 31, 2020, 8:28 a.m. UTC
Addresses FS#64983.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
---
 web/template/pkg_comment_form.php | 4 ++++
 1 file changed, 4 insertions(+)

Patch

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>