mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Rename get_lang_page
This commit is contained in:
parent
20141f3cba
commit
b380f09b06
@ -37,7 +37,7 @@ class PublicHandler(BaseHandler):
|
|||||||
"version": self.helper.get_version_string(),
|
"version": self.helper.get_version_string(),
|
||||||
"error": error,
|
"error": error,
|
||||||
"lang": self.helper.get_setting("language"),
|
"lang": self.helper.get_setting("language"),
|
||||||
"lang_page": self.helper.getLangPage(self.helper.get_setting("language")),
|
"lang_page": self.helper.get_lang_page(self.helper.get_setting("language")),
|
||||||
"query": "",
|
"query": "",
|
||||||
}
|
}
|
||||||
if self.request.query:
|
if self.request.query:
|
||||||
@ -86,7 +86,7 @@ class PublicHandler(BaseHandler):
|
|||||||
"version": self.helper.get_version_string(),
|
"version": self.helper.get_version_string(),
|
||||||
"error": error,
|
"error": error,
|
||||||
"lang": self.helper.get_setting("language"),
|
"lang": self.helper.get_setting("language"),
|
||||||
"lang_page": self.helper.getLangPage(self.helper.get_setting("language")),
|
"lang_page": self.helper.get_lang_page(self.helper.get_setting("language")),
|
||||||
"query": "",
|
"query": "",
|
||||||
}
|
}
|
||||||
if self.request.query:
|
if self.request.query:
|
||||||
|
@ -9,7 +9,7 @@ class StatusHandler(BaseHandler):
|
|||||||
def get(self):
|
def get(self):
|
||||||
page_data = {}
|
page_data = {}
|
||||||
page_data["lang"] = self.helper.get_setting("language")
|
page_data["lang"] = self.helper.get_setting("language")
|
||||||
page_data["lang_page"] = self.helper.getLangPage(
|
page_data["lang_page"] = self.helper.get_lang_page(
|
||||||
self.helper.get_setting("language")
|
self.helper.get_setting("language")
|
||||||
)
|
)
|
||||||
page_data["servers"] = self.controller.servers.get_all_servers_stats()
|
page_data["servers"] = self.controller.servers.get_all_servers_stats()
|
||||||
|
Loading…
Reference in New Issue
Block a user