summaryrefslogtreecommitdiff
path: root/torrus/templates/default-rrd.html
diff options
context:
space:
mode:
authorivan <ivan>2010-12-29 03:12:19 +0000
committerivan <ivan>2010-12-29 03:12:19 +0000
commit54395e0be06cb94a65d25041f657836241e23b60 (patch)
treeef27eea2bce6605c68363f97c572dea8dd6cb445 /torrus/templates/default-rrd.html
parentf480822b8c344289ac97f7db517511fb75d9c364 (diff)
torrus skinning improvements, RT#10574
Diffstat (limited to 'torrus/templates/default-rrd.html')
-rw-r--r--torrus/templates/default-rrd.html12
1 files changed, 9 insertions, 3 deletions
diff --git a/torrus/templates/default-rrd.html b/torrus/templates/default-rrd.html
index cfbdbce8d..496410a33 100644
--- a/torrus/templates/default-rrd.html
+++ b/torrus/templates/default-rrd.html
@@ -1,9 +1,15 @@
[% PROCESS 'html-incblocks.txt' %]
[% INCLUDE setdate %]
-[% INCLUDE htmlstart title='Graphs for ' _ path(token) printpath=1 %]
-
[% parentComment = nodeParam(parent(token),'comment') %]
-[% IF parentComment %]<H1>Graphs for [% xmlnorm(parentComment) %]</H1>[% END %]
+[% IF parentComment;
+ INCLUDE htmlstart title='Graphs for ' _ xmlnorm(parentComment);
+ ELSE;
+ INCLUDE htmlstart title='Graphs for ' _ path(token) printpath=1;
+ END;
+%]
+
+
+ %]<H1>Graphs for [% xmlnorm(parentComment) %]</H1>[% END %]
[% INCLUDE variables %]