]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/settings/form.py
Block revisions path in default robots.txt.
[osqa.git] / forum / settings / form.py
index 5cb1aee8520e6155408826c011ae93fc0b33a28f..7329d5f9a0f8a69cfa316930d0a27fb778b82ae6 100644 (file)
@@ -37,4 +37,14 @@ help_text = _("The minimum number of characters a user must enter into the body
 
 FORM_MAX_COMMENT_BODY = Setting('FORM_MAX_COMMENT_BODY', 600, FORUM_SET, dict(
 label = _("Maximum length of comment"),
-help_text = _("The maximum number of characters a user can enter into the body of a comment.")))
\ No newline at end of file
+help_text = _("The maximum number of characters a user can enter into the body of a comment.")))
+
+FORM_ALLOW_MARKDOWN_IN_COMMENTS = Setting('FORM_ALLOW_MARKDOWN_IN_COMMENTS', True, FORUM_SET, dict(
+label = _("Allow markdown in comments"),
+help_text = _("Allow users to use markdown in comments."),
+required=False))
+
+FORM_GRAVATAR_IN_COMMENTS = Setting('FORM_GRAVATAR_IN_COMMENTS', False, FORUM_SET, dict(
+label = _("Show author gravatar in comments"),
+help_text = _("Show the gravatar image of a comment author."),
+required=False))
\ No newline at end of file