From 26dd2935d73b858208556458f65d019985dbf61c Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Fri, 30 Sep 2022 10:51:51 +0530 Subject: [PATCH] fix: renamed dashboard stats to LMS Statistics --- lms/lms/web_template/dashboard_stats/dashboard_stats.html | 1 - .../{dashboard_stats => lms_statistics}/__init__.py | 0 lms/lms/web_template/lms_statistics/lms_statistics.html | 1 + .../dashboard_stats.json => lms_statistics/lms_statistics.json} | 0 lms/templates/{dashboard_stats.html => statistics.html} | 0 lms/www/profiles/profile.html | 2 +- 6 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 lms/lms/web_template/dashboard_stats/dashboard_stats.html rename lms/lms/web_template/{dashboard_stats => lms_statistics}/__init__.py (100%) create mode 100644 lms/lms/web_template/lms_statistics/lms_statistics.html rename lms/lms/web_template/{dashboard_stats/dashboard_stats.json => lms_statistics/lms_statistics.json} (100%) rename lms/templates/{dashboard_stats.html => statistics.html} (100%) diff --git a/lms/lms/web_template/dashboard_stats/dashboard_stats.html b/lms/lms/web_template/dashboard_stats/dashboard_stats.html deleted file mode 100644 index 4c1c1843..00000000 --- a/lms/lms/web_template/dashboard_stats/dashboard_stats.html +++ /dev/null @@ -1 +0,0 @@ -{% include "lms/templates/dashboard_stats.html" %} diff --git a/lms/lms/web_template/dashboard_stats/__init__.py b/lms/lms/web_template/lms_statistics/__init__.py similarity index 100% rename from lms/lms/web_template/dashboard_stats/__init__.py rename to lms/lms/web_template/lms_statistics/__init__.py diff --git a/lms/lms/web_template/lms_statistics/lms_statistics.html b/lms/lms/web_template/lms_statistics/lms_statistics.html new file mode 100644 index 00000000..c4d7f36b --- /dev/null +++ b/lms/lms/web_template/lms_statistics/lms_statistics.html @@ -0,0 +1 @@ +{% include "lms/templates/statistics.html" %} diff --git a/lms/lms/web_template/dashboard_stats/dashboard_stats.json b/lms/lms/web_template/lms_statistics/lms_statistics.json similarity index 100% rename from lms/lms/web_template/dashboard_stats/dashboard_stats.json rename to lms/lms/web_template/lms_statistics/lms_statistics.json diff --git a/lms/templates/dashboard_stats.html b/lms/templates/statistics.html similarity index 100% rename from lms/templates/dashboard_stats.html rename to lms/templates/statistics.html diff --git a/lms/www/profiles/profile.html b/lms/www/profiles/profile.html index 9c083e14..539da3c8 100644 --- a/lms/www/profiles/profile.html +++ b/lms/www/profiles/profile.html @@ -162,7 +162,7 @@ {% set slug = title.lower().replace(" ", "-") %}
- {{ tab.render() }} + {{ tab.render() }}
{% endfor %}