mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Rename activity logs
This commit is contained in:
parent
61057bce81
commit
a8894757cf
@ -79,8 +79,8 @@ class ManagementController:
|
|||||||
# Audit_Log Methods
|
# Audit_Log Methods
|
||||||
# **********************************************************************************
|
# **********************************************************************************
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_actity_log():
|
def get_activity_log():
|
||||||
return HelpersManagement.get_actity_log()
|
return HelpersManagement.get_activity_log()
|
||||||
|
|
||||||
def add_to_audit_log(self, user_id, log_msg, server_id=None, source_ip=None):
|
def add_to_audit_log(self, user_id, log_msg, server_id=None, source_ip=None):
|
||||||
return self.management_helper.add_to_audit_log(
|
return self.management_helper.add_to_audit_log(
|
||||||
|
@ -145,7 +145,7 @@ class HelpersManagement:
|
|||||||
# Audit_Log Methods
|
# Audit_Log Methods
|
||||||
# **********************************************************************************
|
# **********************************************************************************
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_actity_log():
|
def get_activity_log():
|
||||||
query = AuditLog.select()
|
query = AuditLog.select()
|
||||||
return DatabaseShortcuts.return_db_rows(query)
|
return DatabaseShortcuts.return_db_rows(query)
|
||||||
|
|
||||||
|
@ -1416,7 +1416,7 @@ class PanelHandler(BaseHandler):
|
|||||||
template = "panel/panel_edit_role.html"
|
template = "panel/panel_edit_role.html"
|
||||||
|
|
||||||
elif page == "activity_logs":
|
elif page == "activity_logs":
|
||||||
page_data["audit_logs"] = self.controller.management.get_actity_log()
|
page_data["audit_logs"] = self.controller.management.get_activity_log()
|
||||||
|
|
||||||
template = "panel/activity_logs.html"
|
template = "panel/activity_logs.html"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user