X-Git-Url: https://git.openstreetmap.org/osqa.git/blobdiff_plain/e6a05ab54f6eea95902b7e9d12858de123e39d17..158a305095187b1b1c9cee417b94d15f515e5ebe:/forum/settings/view.py diff --git a/forum/settings/view.py b/forum/settings/view.py index 9b7cf4e..b87c33c 100644 --- a/forum/settings/view.py +++ b/forum/settings/view.py @@ -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.")))