X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=torrus%2Ftemplates%2Fdefault-rrd.html;h=e51c3c0c7f118184f2cb9a7259a95aa1e642c148;hb=2a56c671635687bf2648eb3a7cf4bce228101af3;hp=cfbdbce8dd4157968a3e861b04858b9aa158a3c6;hpb=74e058c8a010ef6feb539248a550d0bb169c1e94;p=freeside.git diff --git a/torrus/templates/default-rrd.html b/torrus/templates/default-rrd.html index cfbdbce8d..e51c3c0c7 100644 --- a/torrus/templates/default-rrd.html +++ b/torrus/templates/default-rrd.html @@ -1,9 +1,12 @@ [% 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) printpath=1; + ELSE; + INCLUDE htmlstart title='Graphs for ' _ path(token) printpath=1; + END; +%] [% INCLUDE variables %]