Moved nav to files

This commit is contained in:
Nabeel Shahzad 2018-05-21 10:32:38 -05:00
parent 7cba92d420
commit 9173558a0b
7 changed files with 6 additions and 17 deletions

View File

@ -4,6 +4,7 @@ return [
'failed' => 'These credentials do not match our records.', 'failed' => 'These credentials do not match our records.',
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.', 'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
'login' => 'Log In', 'login' => 'Log In',
'logout' => 'Log Out',
'password' => 'Password', 'password' => 'Password',
'createaccount' => 'Create Account', 'createaccount' => 'Create Account',
'forgotpassword' => 'Forgot Password', 'forgotpassword' => 'Forgot Password',

View File

@ -5,6 +5,7 @@
return [ return [
'dashboard' => 'Dashboard', 'dashboard' => 'Dashboard',
'administration' => 'Administration',
'flight' => 'Flight|Flights', 'flight' => 'Flight|Flights',
'livemap' => 'Live Map', 'livemap' => 'Live Map',
'pilot' => 'Pilot|Pilots', 'pilot' => 'Pilot|Pilots',

View File

@ -16,14 +16,4 @@ return [
], ],
'allrightsreserved' => 'All Rights Reserved', 'allrightsreserved' => 'All Rights Reserved',
], ],
'home' => [
],
'nav' => [
'login' => 'Login',
'administration' => 'Administration',
'logout' => 'Log Out',
],
]; ];

View File

@ -4,6 +4,7 @@ return [
'failed' => 'Queste credenziali non sono presenti nei nostri archivi.', 'failed' => 'Queste credenziali non sono presenti nei nostri archivi.',
'throttle' => 'Troppi tentativi di login. Tenta di nuovo tra :seconds secondi per favore.', 'throttle' => 'Troppi tentativi di login. Tenta di nuovo tra :seconds secondi per favore.',
'login' => 'Accedi', 'login' => 'Accedi',
'logout' => 'Uscita',
'password' => 'Password', 'password' => 'Password',
'createaccount' => 'Crea Account', 'createaccount' => 'Crea Account',
'forgotpassword' => 'Password Dimenticata', 'forgotpassword' => 'Password Dimenticata',

View File

@ -5,6 +5,7 @@
return [ return [
'dashboard' => 'Dashboard', 'dashboard' => 'Dashboard',
'administration' => 'Amministrazione',
'flight' => 'Volo|Voli', 'flight' => 'Volo|Voli',
'livemap' => 'Mappa Live', 'livemap' => 'Mappa Live',
'pilot' => 'Pilota|Piloti', 'pilot' => 'Pilota|Piloti',

View File

@ -18,9 +18,4 @@ return [
'nodownloads' => 'Non ci sono downloads!', 'nodownloads' => 'Non ci sono downloads!',
], ],
'nav' => [
'administration' => 'Amministrazione',
'logout' => 'Uscita',
],
]; ];

View File

@ -77,7 +77,7 @@
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="{{ url('/admin') }}"> <a class="nav-link" href="{{ url('/admin') }}">
<i class="fas fa-circle-notch"></i> <i class="fas fa-circle-notch"></i>
<p>@lang('frontend.nav.administration')</p> <p>@lang('common.administration')</p>
</a> </a>
</li> </li>
@endrole @endrole
@ -95,7 +95,7 @@
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="{{ url('/logout') }}"> <a class="nav-link" href="{{ url('/logout') }}">
<i class="fas fa-sign-out-alt"></i> <i class="fas fa-sign-out-alt"></i>
<p>@lang('frontend.nav.logout')</p> <p>@lang('auth.logout')</p>
</a> </a>
</li> </li>
@endif @endif