X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=torrus%2Ftemplates%2Fdefault-dir.html;h=21f8e444687f6db744317951ef766a460ae1a37d;hb=ac8410cdb67639afeb84c84e975fffadf3e6cce1;hp=bcdc001b45614c6679a16e097834ce0b45a74889;hpb=406b21cab11a2a89f359d40d10d6b37e60eddc1e;p=freeside.git diff --git a/torrus/templates/default-dir.html b/torrus/templates/default-dir.html index bcdc001b4..21f8e4446 100644 --- a/torrus/templates/default-dir.html +++ b/torrus/templates/default-dir.html @@ -16,8 +16,8 @@ router = nodeName(parent(parent(token))); serviceids = get_serviceids(nms,router); - # HACK! this doesn't do what you think it does... - popup_link('nms-add_iface.html',router,uri_escape(slash2underscore(nodeName(token))),nms,serviceids); + # this displays the link on the port detail page + popup_link('nms-add_iface.html',router,uri_escape(iface_underscore(nodeName(token))),nms,serviceids); END; IF matches(thepath,'Routers/$'); freesideComponent('/elements/init_overlib.html'); @@ -63,7 +63,7 @@ thisIsAlias ? '':''; %] [% IF matches(thepath,'Interface_Counters/$') %] - [% popup_link('nms-add_iface.html',router,uri_escape(slash2underscore(nodeName(child))),nms,serviceids) %] + [% popup_link('nms-add_iface.html',router,uri_escape(iface_underscore(nodeName(child))),nms,serviceids) %] [% END %]