From: levinse Date: Wed, 22 Jun 2011 23:41:26 +0000 (+0000) Subject: add router and addr_block delete features, RT13197 X-Git-Tag: freeside_2_3_0~77 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=5666362a5167aa0dbdcb78cd45f1426b31e8b8c7;p=freeside.git add router and addr_block delete features, RT13197 --- diff --git a/httemplate/browse/addr_block.cgi b/httemplate/browse/addr_block.cgi index 7ff0eaa21..46b12e65f 100644 --- a/httemplate/browse/addr_block.cgi +++ b/httemplate/browse/addr_block.cgi @@ -158,7 +158,4 @@ my $autoassign_link = sub { [ "$url;blocknum=", 'blocknum' ]; }; -my $delete_link = sub { -}; - diff --git a/httemplate/browse/router.cgi b/httemplate/browse/router.cgi index 541e967dd..069ca9b20 100644 --- a/httemplate/browse/router.cgi +++ b/httemplate/browse/router.cgi @@ -9,15 +9,18 @@ 'count_query' => "SELECT count(*) from router $count_sql", 'header' => [ 'Router name', 'Address block(s)', + 'Action', ], 'fields' => [ 'routername', sub { join( '
', map { $_->NetAddr } shift->addr_block ); }, + sub { 'Delete' }, ], 'links' => [ [ "${p2}edit/router.cgi?", 'routernum' ], '', + [ "${p}misc/delete-router.html?", 'routernum' ], ], 'agent_virt' => 1, 'agent_null_right'=> "Broadband global configuration",