diff --git a/Netdisco/Changes b/Netdisco/Changes index e52960c4..7116af1f 100644 --- a/Netdisco/Changes +++ b/Netdisco/Changes @@ -3,6 +3,7 @@ [ENHANCEMENTS] * Device Port filter by vlan includes both tagging and untagged (closes #37) + * Change colour and name of Port Control toggle option in Device Port View [BUG FIXES] diff --git a/Netdisco/lib/App/Netdisco/Web/Device.pm b/Netdisco/lib/App/Netdisco/Web/Device.pm index 05c9843e..927186c1 100644 --- a/Netdisco/lib/App/Netdisco/Web/Device.pm +++ b/Netdisco/lib/App/Netdisco/Web/Device.pm @@ -10,7 +10,7 @@ use App::Netdisco::Util::Web (); # for sort_port hook 'before' => sub { # list of port detail columns var('port_columns' => [ - { name => 'c_admin', label => 'Port Control', default => '' }, + { name => 'c_admin', label => 'Admin Controls', default => '' }, { name => 'c_port', label => 'Port', default => 'on' }, { name => 'c_descr', label => 'Description', default => '' }, { name => 'c_type', label => 'Type', default => '' }, diff --git a/Netdisco/share/views/sidebar/device/ports.tt b/Netdisco/share/views/sidebar/device/ports.tt index 23917ee0..be2e50fb 100644 --- a/Netdisco/share/views/sidebar/device/ports.tt +++ b/Netdisco/share/views/sidebar/device/ports.tt @@ -56,7 +56,7 @@ [% IF item.name == 'c_admin' %] - [% item.label %] + [% item.label %] [% ELSE %] [% item.label %] [% END %]