Commit 2a9884d0 authored by Tomas Hlavacek's avatar Tomas Hlavacek

Add modal windows support to BIRD.

parent c9e5a2d8
......@@ -183,7 +183,7 @@ class BirdShowRouteCommand(ulgmodel.TextCommand):
# expected input is "[AS28171i]"
m = bird_asfield_regexp.match(asfield)
if(m):
return '['+decorator_helper.ahref(defaults.getASNURL(m.group(1)),'AS'+m.group(1))+m.group(2)+']'
return '['+decorator_helper.mwin(defaults.getASNURL(m.group(1)),'AS'+m.group(1))+m.group(2)+']'
else:
return asfield
......@@ -202,7 +202,7 @@ class BirdShowRouteCommand(ulgmodel.TextCommand):
if(ml):
# generate table content
result.append([
(decorator_helper.ahref(defaults.getIPPrefixURL(ml[0]),ml[0]),),
(decorator_helper.mwin(defaults.getIPPrefixURL(ml[0]),ml[0]),),
(ml[1],),
(ml[2],),
(ml[3],),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment