From c7770f01f6316e36a774a3c12d72bfeae9d65db4 Mon Sep 17 00:00:00 2001 From: thl-cmk <thl-cmk@outlook.com> Date: Fri, 8 Oct 2021 10:34:44 +0000 Subject: [PATCH] Update inv_cisco_support.py --- web/plugins/views/inv_cisco_support.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/plugins/views/inv_cisco_support.py b/web/plugins/views/inv_cisco_support.py index f394139..298c285 100644 --- a/web/plugins/views/inv_cisco_support.py +++ b/web/plugins/views/inv_cisco_support.py @@ -159,7 +159,6 @@ inventory_displayhints.update({ '.hardware.support.cisco_eox:*.MigrationInformation': {'title': _('Migration information'), }, '.hardware.support.cisco_eox:*.MigrationProductInfoURL': {'title': _('Migration PID URL'), }, '.hardware.support.cisco_eox:*.MigrationProductName': {'title': _('Migration product name'), }, - '.hardware.support.cisco_eox:*.Last_checked': {'title': _('Last checked'), 'paint': 'last_checked_status'}, # }) # SN2Info (contract) display hints @@ -262,6 +261,7 @@ if ENABLE_PAINTERS: '.hardware.support.cisco_eox:*.EndOfSaleDate': {'title': _('End of sale'), 'paint': 'date_status'}, '.hardware.support.cisco_eox:*.LastDateOfSupport': {'title': _('End of support'), 'paint': 'date_status'}, '.hardware.support.cisco_eox:*.ProductBulletinNumber': {'title': _('EOL bulletin ID'), 'paint': 'eox_eolid'}, + '.hardware.support.cisco_eox:*.Last_checked': {'title': _('Last checked'), 'paint': 'last_checked_status'}, # SN2Info '.hardware.support.cisco_contract:*.Last_checked': {'title': _('Last checked'), 'paint': 'last_checked_status'}, @@ -286,6 +286,7 @@ else: '.hardware.support.cisco_eox:*.EndOfSaleDate': {'title': _('End of sale')}, '.hardware.support.cisco_eox:*.LastDateOfSupport': {'title': _('End of support')}, '.hardware.support.cisco_eox:*.ProductBulletinNumber': {'title': _('EOL bulletin ID')}, + '.hardware.support.cisco_eox:*.Last_checked': {'title': _('Last checked'),}, # SN2Info '.hardware.support.cisco_contract:*.Last_checked': {'title': _('Last checked')}, -- GitLab