From 337fe5cfaad2f36f8bdb3f7780923bb472d00306 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Wed, 17 Jul 2019 08:58:10 -0400 Subject: [PATCH] Rename "Administration" to "Admin" --- resources/lang/en/common.php | 2 +- resources/lang/es/common.php | 2 +- resources/views/admin/menu.blade.php | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/resources/lang/en/common.php b/resources/lang/en/common.php index 1010bf89..12f128b1 100644 --- a/resources/lang/en/common.php +++ b/resources/lang/en/common.php @@ -2,7 +2,7 @@ return [ 'dashboard' => 'Dashboard', - 'administration' => 'Administration', + 'administration' => 'Admin', 'flight' => 'Flight|Flights', 'livemap' => 'Live Map', 'pilot' => 'Pilot|Pilots', diff --git a/resources/lang/es/common.php b/resources/lang/es/common.php index 7bf2f944..787edca9 100644 --- a/resources/lang/es/common.php +++ b/resources/lang/es/common.php @@ -2,7 +2,7 @@ return [ 'dashboard' => 'Tablero', - 'administration' => 'Administración', + 'administration' => 'Admin', 'flight' => 'Vuelo|Vuelos', 'livemap' => 'Mapa en vivo', 'pilot' => 'Piloto|Pilotos', diff --git a/resources/views/admin/menu.blade.php b/resources/views/admin/menu.blade.php index 25833a33..0d265f67 100644 --- a/resources/views/admin/menu.blade.php +++ b/resources/views/admin/menu.blade.php @@ -32,6 +32,10 @@ @ability('admin', 'finances')
  • finances
  • @endability + + @ability('admin', 'users') +
  • users
  • + @endability @@ -55,10 +59,6 @@
  • expenses
  • @endability - @ability('admin', 'users') -
  • users
  • - @endability - @ability('admin', 'ranks')
  • ranks
  • @endability