From a9f9fec25f576ea868931a2a83b28782073f6e78 Mon Sep 17 00:00:00 2001 From: bmatt Date: Wed, 4 Mar 2020 21:34:56 +0000 Subject: [PATCH] Moved datatables CSS/JS to dashboard to reduce loaded data throughout --- ihatemoney/templates/dashboard.html | 3 +++ ihatemoney/templates/layout.html | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ihatemoney/templates/dashboard.html b/ihatemoney/templates/dashboard.html index 45ccded3..c6c50581 100644 --- a/ihatemoney/templates/dashboard.html +++ b/ihatemoney/templates/dashboard.html @@ -1,6 +1,9 @@ {% extends "layout.html" %} {% block content %} {% if is_admin_dashboard_activated %} + + + {% for project in projects|sort(attribute='name') %} diff --git a/ihatemoney/templates/layout.html b/ihatemoney/templates/layout.html index 41b12e52..664182ae 100644 --- a/ihatemoney/templates/layout.html +++ b/ihatemoney/templates/layout.html @@ -6,14 +6,12 @@ - - {% block head %}{% endblock %}
{{ _("Project") }}{{ _("Number of members") }}{{ _("Number of bills") }}{{_("Newest bill")}}{{_("Oldest bill")}}{{_("Actions")}}