mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix typos in server-config form. Fix whitespace
This commit is contained in:
parent
87fdb1627c
commit
6d0ec12a6f
@ -1586,7 +1586,7 @@ class PanelHandler(BaseHandler):
|
||||
logs_delete_after = int(float(self.get_argument("logs_delete_after", "0")))
|
||||
java_selection = self.get_argument("java_selection", None)
|
||||
# make sure there is no whitespace
|
||||
ignored_exits = " ".join(self.get_argument("ignored_exits", "").split())
|
||||
ignored_exits = self.get_argument("ignored_exits", "").replace(" ", "")
|
||||
# subpage = self.get_argument('subpage', None)
|
||||
|
||||
server_id = self.check_server_id()
|
||||
|
@ -188,9 +188,7 @@
|
||||
<label for="ignored_exits">{{ translate('serverConfig', 'ignoredExits', data['lang']) }}
|
||||
<small class="text-muted ml-1"> - {{ translate('serverConfig', 'ignoredExitsExplain',
|
||||
data['lang'])
|
||||
}}
|
||||
{{ data['server_stats']['server_id']['ignored_exits'] }} {{ translate('serverConfig',
|
||||
'timeoutExplain2', data['lang']) }}
|
||||
}}
|
||||
</small> </label>
|
||||
<input type="text" class="form-control" name="ignored_exits" id="ignored_exits"
|
||||
value="{{ data['server_stats']['server_id']['ignored_exits'] }}">
|
||||
|
Loading…
Reference in New Issue
Block a user