]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/settings/view.py
adding a setting that allows the users to choose the comments order
[osqa.git] / forum / settings / view.py
index 9b7cf4ea00619f03aa26ae10aaf9a0a83ed0abca..b87c33c5c4be44835cf19ddadd78f3e478682db9 100644 (file)
@@ -9,6 +9,12 @@ label = _("Embed YouTube Videos"),
 help_text = _("If you check this YouTube videos will be embedded"),
 required=False))
 
+SHOW_LATEST_COMMENTS_FIRST = Setting('SHOW_LATEST_COMMENTS_FIRST', False, VIEW_SET, dict(
+label = _("Show latest comments first"),
+help_text = _("Choose this if you want the latest comments to appear first."),
+required=False))
+
+
 SUMMARY_LENGTH = Setting('SUMMARY_LENGTH', 300, VIEW_SET, dict(
 label = _("Summary Length"),
 help_text = _("The number of characters that are going to be displayed in order to get the content summary.")))