X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=torrus%2Ftemplates%2Fdefault-rrd.html;h=496410a336ecfbf3662a064d63d531f605293b5e;hp=cfbdbce8dd4157968a3e861b04858b9aa158a3c6;hb=54395e0be06cb94a65d25041f657836241e23b60;hpb=f480822b8c344289ac97f7db517511fb75d9c364 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 %]

Graphs for [% xmlnorm(parentComment) %]

[% END %] +[% IF parentComment; + INCLUDE htmlstart title='Graphs for ' _ xmlnorm(parentComment); + ELSE; + INCLUDE htmlstart title='Graphs for ' _ path(token) printpath=1; + END; +%] + + + %]

Graphs for [% xmlnorm(parentComment) %]

[% END %] [% INCLUDE variables %]