From 41e23f33a042dd4efd605b90ce091af238db16e2 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Sun, 6 Nov 2022 11:19:12 +0100 Subject: [PATCH] Show average release length for collections --- server/templates/collection_element.htm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/server/templates/collection_element.htm b/server/templates/collection_element.htm index 88ee2d2..ef3a50e 100644 --- a/server/templates/collection_element.htm +++ b/server/templates/collection_element.htm @@ -58,6 +58,12 @@ {{ stats.to_watch_seconds | timedelta }} ({{ stats.to_watch_count }} elements) + {% if collection.average_release_per_week %} +
  • + Average Release: + {{ collection.average_release_per_week | timedelta }} per Week +
  • + {% endif %} {% if collection.all_tags %}
  • Tags: {{ collection.all_tags | map(attribute="title") | sort | join(" | ") }}