diff options
author | ivan <ivan> | 2010-12-29 03:12:19 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-12-29 03:12:19 +0000 |
commit | 54395e0be06cb94a65d25041f657836241e23b60 (patch) | |
tree | ef27eea2bce6605c68363f97c572dea8dd6cb445 /torrus/templates/default-rrd.html | |
parent | f480822b8c344289ac97f7db517511fb75d9c364 (diff) |
torrus skinning improvements, RT#10574
Diffstat (limited to 'torrus/templates/default-rrd.html')
-rw-r--r-- | torrus/templates/default-rrd.html | 12 |
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 %] |