Rename activity logs

This commit is contained in:
Andrew 2023-08-20 17:01:32 -04:00
parent 61057bce81
commit a8894757cf
3 changed files with 4 additions and 4 deletions

View File

@ -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(

View File

@ -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)

View File

@ -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"