From fafb5a62c2ab55ad5451681a535ede81538232a4 Mon Sep 17 00:00:00 2001 From: Tony Murray Date: Thu, 30 Sep 2021 02:41:12 -0500 Subject: [PATCH] Fix port links (#13296) yes is not a valid boolean --- includes/html/pages/ports.inc.php | 2 +- resources/views/layouts/menu.blade.php | 8 ++++---- resources/views/port/actions.blade.php | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/includes/html/pages/ports.inc.php b/includes/html/pages/ports.inc.php index 0383815cec..f718b02639 100644 --- a/includes/html/pages/ports.inc.php +++ b/includes/html/pages/ports.inc.php @@ -81,7 +81,7 @@ if (isset($vars['bare']) && $vars['bare'] == 'yes') { $displayLists .= ' | '; $displayLists .= 'Bulk actions »'; -$displayLists .= ' Purge all deleted'; +$displayLists .= ' Purge all deleted'; $displayLists .= ''; diff --git a/resources/views/layouts/menu.blade.php b/resources/views/layouts/menu.blade.php index 8efa5ff121..045b4968b1 100644 --- a/resources/views/layouts/menu.blade.php +++ b/resources/views/layouts/menu.blade.php @@ -274,13 +274,13 @@ aria-hidden="true"> @lang('All Ports') @if($port_counts['errored'] > 0) -
  • @lang('Errored :port_count', ['port_count' => $port_counts['errored']])
  • @endif @if($port_counts['ignored'] > 0) -
  • @lang('Ignored :port_count', ['port_count' => $port_counts['ignored']])
  • @endif @@ -341,7 +341,7 @@ @if($port_counts['alerted']) -
  • @lang('Alerts :port_count', ['port_count' => $port_counts['alerted']])
  • @@ -356,7 +356,7 @@ @if($port_counts['deleted']) -
  • @lang('Deleted :port_count', ['port_count' => $port_counts['deleted']])
  • @endif diff --git a/resources/views/port/actions.blade.php b/resources/views/port/actions.blade.php index 9a095d8ab8..cf4e72818c 100644 --- a/resources/views/port/actions.blade.php +++ b/resources/views/port/actions.blade.php @@ -1,7 +1,7 @@
    @if(request('deleted') === 'yes') -
    +
    @else
    @admin