From 24444c17ea86385468115210e6d22ec58c1a0d7e Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Sat, 2 Feb 2013 19:21:21 +0000 Subject: [PATCH] Hide Legend item relating to port control if not an admin --- Netdisco/Changes | 1 + Netdisco/share/views/sidebar/device/ports.tt | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Netdisco/Changes b/Netdisco/Changes index b3ebd884..fdcb1866 100644 --- a/Netdisco/Changes +++ b/Netdisco/Changes @@ -3,6 +3,7 @@ [ENHANCEMENTS] * Do not include inventory items which don't have full OS details + * Hide Legend item relating to port control if not an admin 2.004002 - 2013-01-30 diff --git a/Netdisco/share/views/sidebar/device/ports.tt b/Netdisco/share/views/sidebar/device/ports.tt index be2e50fb..f939277b 100644 --- a/Netdisco/share/views/sidebar/device/ports.tt +++ b/Netdisco/share/views/sidebar/device/ports.tt @@ -36,9 +36,11 @@
  • A  Archived Data
  • + [% IF vars.user.port_control %]
  •   Click "Update View"
  • + [% END %]