]> git.ipfire.org Git - people/ms/westferry.git/blobdiff - src/templates/modules/graphs/box.html
UI: graphs: Add option to hide graph title
[people/ms/westferry.git] / src / templates / modules / graphs / box.html
index 9127fd14475a5e519957669f745bf659fd0d7e1c..b507d3366d972a9199dca51d55e497faa021d5ca 100644 (file)
@@ -6,7 +6,9 @@
        "year"  : _("Year")
 } %}
 
-<h3>{{ graph.title }}</h3>
+{% if show_title %}
+       <h3>{{ graph.title }}</h3>
+{% end %}
 
 <ul class="tabs" data-tabs id="graph-tabs">
        {% for i, interval in enumerate(intervals) %}