From 7f0d1ab287285e3903ff5507d68565aa393de3a0 Mon Sep 17 00:00:00 2001 From: Javier Sánchez Parra Date: Mon, 29 Mar 2021 14:49:27 +0200 Subject: Add latest images to the dashboard Users want to know latest created/modified images to manage new images or changes made on existing images. This commit adds a list with the 10 latest created or modified images. --- ogcp/templates/dashboard.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'ogcp/templates') diff --git a/ogcp/templates/dashboard.html b/ogcp/templates/dashboard.html index 9c34768..518ae20 100644 --- a/ogcp/templates/dashboard.html +++ b/ogcp/templates/dashboard.html @@ -18,5 +18,20 @@

{{ images | length }}

+
+
+ Latest images +
+ {% for image in images[:10] %} + + {% endfor %} +
{% endblock %} -- cgit v1.2.3-18-g5258