Cosmetic changes to the webclient options

- Renamed the used attribute
- Changed to use only one inputfunc
This commit is contained in:
Simon Vermeersch 2017-01-14 22:15:17 +01:00 committed by Griatch
parent 221aa362ab
commit 8dcd242d3b
3 changed files with 68 additions and 61 deletions

View file

@ -623,8 +623,8 @@ STATICFILES_IGNORE_PATTERNS = ('README.md',)
# directory names shown in the templates directory.
WEBSITE_TEMPLATE = 'website'
WEBCLIENT_TEMPLATE = 'webclient'
# The default settings used by the webclient
WEBCLIENT_SETTINGS = {
# The default options used by the webclient
WEBCLIENT_OPTIONS = {
"gagprompt": True, # Gags prompt from the output window and keep them
# together with the input bar
"helppopup": True, # Shows help files in a new popup window
@ -633,7 +633,7 @@ WEBCLIENT_SETTINGS = {
"notification_sound": False # Plays a sound for notifications of new
# messages
}
# We setup the location of the website template as well as the admin site.
TEMPLATES = [{
'BACKEND': 'django.template.backends.django.DjangoTemplates',