From ba5eadb9f98b7f809e5cd22500799032ff091da1 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 4 Dec 2021 16:27:09 +0000 Subject: [PATCH] UI: graphs: Add option to hide graph title Signed-off-by: Michael Tremer --- src/templates/modules/graphs/box.html | 4 +++- src/templates/modules/tabs.html | 2 +- src/westferry/ui/graphs.py | 5 +++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/templates/modules/graphs/box.html b/src/templates/modules/graphs/box.html index 9127fd1..b507d33 100644 --- a/src/templates/modules/graphs/box.html +++ b/src/templates/modules/graphs/box.html @@ -6,7 +6,9 @@ "year" : _("Year") } %} -

{{ graph.title }}

+{% if show_title %} +

{{ graph.title }}

+{% end %}