torrus, RT10574
[freeside.git] / torrus / templates / default-dir.html
index 4b653be..fe13a9b 100644 (file)
@@ -1,8 +1,13 @@
 [% PROCESS 'html-incblocks.txt' %]
+[% thepath=path(token) %]
 [% INCLUDE htmlstart title=xmlnorm(nodeParam(token,'comment')) printpath=1 %]
 
 [% INCLUDE legend %]
 
+[% IF matches(thepath,'Interface_Counters/$') %]
+   [% freesideComponent('/elements/init_overlib.html') %]
+[% END %]
+
 <P>Directories you can jump to:</P>
 <DIV CLASS="Listing">
 [%   hasLeaves = 0; hasSubtrees = 0;
@@ -39,6 +44,9 @@
       <A HREF="[%url(child)%]"[%urlTitle%]>[% nodeName(child) %]</A>
       [% hidden ? '</EM>':'';
          thisIsAlias ? '</EM>':''; %]
+      [% IF matches(thepath,'Interface_Counters/$') %]
+        [% popup_link('nms-add_iface.html',nodeName(parent(token)),uri_escape(nodeName(child))) %]
+      [% END %]
     </SPAN>
        [% IF comment %]
     <SPAN CLASS="NodeDescr">