diff --git a/corporate/lib/activity.py b/corporate/lib/activity.py index b6ddb91bb9..5e13bad835 100644 --- a/corporate/lib/activity.py +++ b/corporate/lib/activity.py @@ -66,7 +66,7 @@ def make_table( data = dict(title=title, cols=cols, rows=rows, totals=totals, stats_link=stats_link) content = loader.render_to_string( - "analytics/ad_hoc_query.html", + "corporate/activity/activity_table.html", dict(data=data), ) diff --git a/corporate/views/installation_activity.py b/corporate/views/installation_activity.py index 6a1b839940..491cef1e3c 100644 --- a/corporate/views/installation_activity.py +++ b/corporate/views/installation_activity.py @@ -271,7 +271,7 @@ def realm_summary_table() -> str: ] content = loader.render_to_string( - "analytics/realm_summary_table.html", + "corporate/activity/installation_activity_table.html", dict( rows=rows, totals=total_row, @@ -291,7 +291,7 @@ def get_installation_activity(request: HttpRequest) -> HttpResponse: return render( request, - "analytics/activity_details_template.html", + "corporate/activity/activity.html", context=dict(data=content, title=title, is_home=True), ) @@ -344,7 +344,7 @@ def get_integrations_activity(request: HttpRequest) -> HttpResponse: content = make_table(title, cols, rows) return render( request, - "analytics/activity_details_template.html", + "corporate/activity/activity.html", context=dict( data=content, title=title, diff --git a/corporate/views/realm_activity.py b/corporate/views/realm_activity.py index a83e8249f7..0ef67e3816 100644 --- a/corporate/views/realm_activity.py +++ b/corporate/views/realm_activity.py @@ -164,7 +164,7 @@ def get_realm_activity(request: HttpRequest, realm_str: str) -> HttpResponse: return render( request, - "analytics/activity_details_template.html", + "corporate/activity/activity.html", context=dict( data=content, title=title, diff --git a/corporate/views/remote_activity.py b/corporate/views/remote_activity.py index 74f5b78c34..70be4a2911 100644 --- a/corporate/views/remote_activity.py +++ b/corporate/views/remote_activity.py @@ -216,6 +216,6 @@ def get_remote_server_activity(request: HttpRequest) -> HttpResponse: content = make_table(title, cols, rows, totals=total_row) return render( request, - "analytics/activity_details_template.html", + "corporate/activity/activity.html", context=dict(data=content, title=title, is_home=False), ) diff --git a/corporate/views/user_activity.py b/corporate/views/user_activity.py index 4f46d784f8..29df5b7160 100644 --- a/corporate/views/user_activity.py +++ b/corporate/views/user_activity.py @@ -57,7 +57,7 @@ def get_user_activity(request: HttpRequest, user_profile_id: int) -> HttpRespons return render( request, - "analytics/activity_details_template.html", + "corporate/activity/activity.html", context=dict( data=content, title=title, diff --git a/templates/analytics/activity_details_template.html b/templates/corporate/activity/activity.html similarity index 100% rename from templates/analytics/activity_details_template.html rename to templates/corporate/activity/activity.html diff --git a/templates/analytics/ad_hoc_query.html b/templates/corporate/activity/activity_table.html similarity index 93% rename from templates/analytics/ad_hoc_query.html rename to templates/corporate/activity/activity_table.html index 9aba0b81cc..7657901f3a 100644 --- a/templates/analytics/ad_hoc_query.html +++ b/templates/corporate/activity/activity_table.html @@ -1,7 +1,7 @@
{{ utctime }}
+{{ utctime }}