torrus, add router UI, RT10574
[freeside.git] / torrus / templates / default-dir.html
index 7df195a..db18212 100644 (file)
@@ -4,6 +4,14 @@
 
 [% INCLUDE legend %]
 
+[% IF matches(thepath,'Interface_Counters/$') %]
+   [% freesideComponent('/elements/init_overlib.html') %]
+[% END %]
+[% IF matches(thepath,'Routers/$') %]
+   [% freesideComponent('/elements/init_overlib.html') %]
+   [% popup_link('nms-add_router.html') %]
+[% END %]
+
 <P>Directories you can jump to:</P>
 <DIV CLASS="Listing">
 [%   hasLeaves = 0; hasSubtrees = 0;
       <A HREF="[%url(child)%]"[%urlTitle%]>[% nodeName(child) %]</A>
       [% hidden ? '</EM>':'';
          thisIsAlias ? '</EM>':''; %]
+      [% IF matches(thepath,'Interface_Counters/$') %]
+       <FONT SIZE="-1">
+        [% popup_link('nms-add_iface.html',nodeName(parent(token)),uri_escape(nodeName(child))) %]
+       </FONT>
+      [% END %]
     </SPAN>
        [% IF comment %]
     <SPAN CLASS="NodeDescr">