|
@@ -41,10 +41,10 @@
|
|
|
<a class="nav-link" data-widget="pushmenu" href="#" role="button"><i class="fas fa-bars"></i></a>
|
|
|
</li>
|
|
|
<li class="nav-item d-none d-sm-inline-block">
|
|
|
- <a href="{{route('home')}}" class="nav-link">Home</a>
|
|
|
+ <a href="{{route('home')}}" class="nav-link">{{__('Home')}}</a>
|
|
|
</li>
|
|
|
<li class="nav-item d-none d-sm-inline-block">
|
|
|
- <a href="{{env('DISCORD_INVITE_URL')}}" class="nav-link" target="__blank">Discord</a>
|
|
|
+ <a href="{{env('DISCORD_INVITE_URL')}}" class="nav-link" target="__blank">{{__('Discord')}}</a>
|
|
|
</li>
|
|
|
</ul>
|
|
|
|
|
@@ -60,7 +60,7 @@
|
|
|
@endif
|
|
|
</a>
|
|
|
<div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
|
|
|
- <span class="dropdown-item dropdown-header">{{Auth::user()->unreadNotifications->count()}} Notifications</span>
|
|
|
+ <span class="dropdown-item dropdown-header">{{Auth::user()->unreadNotifications->count()}} {{__('Notifications')}}</span>
|
|
|
<div class="dropdown-divider"></div>
|
|
|
|
|
|
@foreach(Auth::user()->unreadNotifications->sortBy('created_at')->take(5) as $notification)
|
|
@@ -73,8 +73,7 @@
|
|
|
@endforeach
|
|
|
|
|
|
<div class="dropdown-divider"></div>
|
|
|
- <a href="{{route('notifications.index')}}" class="dropdown-item dropdown-footer">See All
|
|
|
- Notifications</a>
|
|
|
+ <a href="{{route('notifications.index')}}" class="dropdown-item dropdown-footer">{{__('See all Notifications')}}</a>
|
|
|
</div>
|
|
|
</li>
|
|
|
|
|
@@ -113,7 +112,7 @@
|
|
|
<div class="dropdown-menu dropdown-menu-right shadow animated--grow-in" aria-labelledby="userDropdown">
|
|
|
<a class="dropdown-item" href="{{route('profile.index')}}">
|
|
|
<i class="fas fa-user fa-sm fa-fw mr-2 text-gray-400"></i>
|
|
|
- Profile
|
|
|
+ {{__('Profile')}}
|
|
|
</a>
|
|
|
{{-- <a class="dropdown-item" href="#">--}}
|
|
|
{{-- <i class="fas fa-list fa-sm fa-fw mr-2 text-gray-400"></i>--}}
|
|
@@ -123,7 +122,7 @@
|
|
|
<div class="dropdown-divider"></div>
|
|
|
<a class="dropdown-item" href="{{route('users.logbackin')}}">
|
|
|
<i class="fas fa-sign-in-alt fa-sm fa-fw mr-2 text-gray-400"></i>
|
|
|
- Log back in
|
|
|
+ {{__('Log back in')}}
|
|
|
</a>
|
|
|
@endif
|
|
|
<div class="dropdown-divider"></div>
|
|
@@ -131,7 +130,7 @@
|
|
|
@csrf
|
|
|
<button class="dropdown-item" href="#" data-toggle="modal" data-target="#logoutModal">
|
|
|
<i class="fas fa-sign-out-alt fa-sm fa-fw mr-2 text-gray-400"></i>
|
|
|
- Logout
|
|
|
+ {{__('Logout')}}
|
|
|
</button>
|
|
|
</form>
|
|
|
</div>
|
|
@@ -161,7 +160,7 @@
|
|
|
<li class="nav-item">
|
|
|
<a href="{{route('home')}}" class="nav-link @if(Request::routeIs('home')) active @endif">
|
|
|
<i class="nav-icon fa fa-home"></i>
|
|
|
- <p>Dashboard</p>
|
|
|
+ <p>{{__('Dashboard')}}</p>
|
|
|
</a>
|
|
|
</li>
|
|
|
|
|
@@ -169,7 +168,7 @@
|
|
|
<a href="{{route('servers.index')}}"
|
|
|
class="nav-link @if(Request::routeIs('servers.*')) active @endif">
|
|
|
<i class="nav-icon fa fa-server"></i>
|
|
|
- <p>Servers
|
|
|
+ <p>{{__('Servers')}}
|
|
|
<span
|
|
|
class="badge badge-info right">{{Auth::user()->servers()->count()}} / {{Auth::user()->server_limit}}</span>
|
|
|
</p>
|
|
@@ -181,20 +180,20 @@
|
|
|
<a href="{{route('store.index')}}"
|
|
|
class="nav-link @if(Request::routeIs('store.*') || Request::routeIs('checkout')) active @endif">
|
|
|
<i class="nav-icon fa fa-coins"></i>
|
|
|
- <p>Store</p>
|
|
|
+ <p>{{__('Store')}}</p>
|
|
|
</a>
|
|
|
</li>
|
|
|
@endif
|
|
|
|
|
|
@if(Auth::user()->role == 'admin')
|
|
|
|
|
|
- <li class="nav-header">Administration</li>
|
|
|
+ <li class="nav-header">{{__('Administration')}}</li>
|
|
|
|
|
|
<li class="nav-item">
|
|
|
<a href="{{route('admin.overview.index')}}"
|
|
|
class="nav-link @if(Request::routeIs('admin.overview.*')) active @endif">
|
|
|
<i class="nav-icon fa fa-home"></i>
|
|
|
- <p>Overview</p>
|
|
|
+ <p>{{__('Overview')}}</p>
|
|
|
</a>
|
|
|
</li>
|
|
|
|
|
@@ -202,7 +201,7 @@
|
|
|
<a href="{{route('admin.configurations.index')}}"
|
|
|
class="nav-link @if(Request::routeIs('admin.configurations.*')) active @endif">
|
|
|
<i class="nav-icon fas fa-cogs"></i>
|
|
|
- <p>Configurations</p>
|
|
|
+ <p>{{__('Configurations')}}</p>
|
|
|
</a>
|
|
|
</li>
|
|
|
|
|
@@ -210,7 +209,7 @@
|
|
|
<a href="{{route('admin.settings.index')}}"
|
|
|
class="nav-link @if(Request::routeIs('admin.settings.*')) active @endif">
|
|
|
<i class="nav-icon fas fa-tools"></i>
|
|
|
- <p>Settings</p>
|
|
|
+ <p>{{__('Settings')}}</p>
|
|
|
</a>
|
|
|
</li>
|
|
|
|
|
@@ -218,17 +217,17 @@
|
|
|
<a href="{{route('admin.api.index')}}"
|
|
|
class="nav-link @if(Request::routeIs('admin.api.*')) active @endif">
|
|
|
<i class="nav-icon fa fa-gamepad"></i>
|
|
|
- <p>Application API</p>
|
|
|
+ <p>{{__('Application API')}}</p>
|
|
|
</a>
|
|
|
</li>
|
|
|
|
|
|
- <li class="nav-header">Management</li>
|
|
|
+ <li class="nav-header">{{__('Management')}}</li>
|
|
|
|
|
|
<li class="nav-item">
|
|
|
<a href="{{route('admin.users.index')}}"
|
|
|
class="nav-link @if(Request::routeIs('admin.users.*')) active @endif">
|
|
|
<i class="nav-icon fas fa-users"></i>
|
|
|
- <p>Users</p>
|
|
|
+ <p>{{__('Users')}}</p>
|
|
|
</a>
|
|
|
</li>
|
|
|
|
|
@@ -236,7 +235,7 @@
|
|
|
<a href="{{route('admin.servers.index')}}"
|
|
|
class="nav-link @if(Request::routeIs('admin.servers.*')) active @endif">
|
|
|
<i class="nav-icon fas fa-server"></i>
|
|
|
- <p>Servers</p>
|
|
|
+ <p>{{__('Servers')}}</p>
|
|
|
</a>
|
|
|
</li>
|
|
|
|
|
@@ -244,7 +243,7 @@
|
|
|
<a href="{{route('admin.products.index')}}"
|
|
|
class="nav-link @if(Request::routeIs('admin.products.*')) active @endif">
|
|
|
<i class="nav-icon fas fa-sliders-h"></i>
|
|
|
- <p>Products</p>
|
|
|
+ <p>{{__('Products')}}</p>
|
|
|
</a>
|
|
|
</li>
|
|
|
|
|
@@ -252,7 +251,7 @@
|
|
|
<a href="{{route('admin.store.index')}}"
|
|
|
class="nav-link @if(Request::routeIs('admin.store.*')) active @endif">
|
|
|
<i class="nav-icon fas fa-shopping-basket"></i>
|
|
|
- <p>Store</p>
|
|
|
+ <p>{{__('Store')}}</p>
|
|
|
</a>
|
|
|
</li>
|
|
|
|
|
@@ -260,7 +259,7 @@
|
|
|
<a href="{{route('admin.vouchers.index')}}"
|
|
|
class="nav-link @if(Request::routeIs('admin.vouchers.*')) active @endif">
|
|
|
<i class="nav-icon fas fa-money-check-alt"></i>
|
|
|
- <p>Vouchers</p>
|
|
|
+ <p>{{__('Vouchers')}}</p>
|
|
|
</a>
|
|
|
</li>
|
|
|
|
|
@@ -283,23 +282,23 @@
|
|
|
{{-- </li>--}}
|
|
|
|
|
|
|
|
|
- <li class="nav-header">Other</li>
|
|
|
+ <li class="nav-header">{{__('Other')}}</li>
|
|
|
|
|
|
<li class="nav-item">
|
|
|
<a href="{{route('admin.usefullinks.index')}}"
|
|
|
class="nav-link @if(Request::routeIs('admin.usefullinks.*')) active @endif">
|
|
|
<i class="nav-icon fas fa-link"></i>
|
|
|
- <p>Useful Links</p>
|
|
|
+ <p>{{__('Useful Links')}}</p>
|
|
|
</a>
|
|
|
</li>
|
|
|
|
|
|
- <li class="nav-header">Logs</li>
|
|
|
+ <li class="nav-header">{{__('Logs')}}</li>
|
|
|
|
|
|
<li class="nav-item">
|
|
|
<a href="{{route('admin.payments.index')}}"
|
|
|
class="nav-link @if(Request::routeIs('admin.payments.*')) active @endif">
|
|
|
<i class="nav-icon fas fa-money-bill-wave"></i>
|
|
|
- <p>Payments
|
|
|
+ <p>{{__('Payments')}}
|
|
|
<span class="badge badge-success right">{{\App\Models\Payment::count()}}</span>
|
|
|
</p>
|
|
|
</a>
|
|
@@ -309,7 +308,7 @@
|
|
|
<a href="{{route('admin.activitylogs.index')}}"
|
|
|
class="nav-link @if(Request::routeIs('admin.activitylogs.*')) active @endif">
|
|
|
<i class="nav-icon fas fa-clipboard-list"></i>
|
|
|
- <p>Activity Logs</p>
|
|
|
+ <p>{{__('Activity Logs')}}</p>
|
|
|
</a>
|
|
|
</li>
|
|
|
|
|
@@ -330,11 +329,9 @@
|
|
|
@if(Auth::user()->created_at->diffInHours(now(), false) > 1)
|
|
|
<div class="alert alert-warning p-2 m-2">
|
|
|
<h5><i class="icon fas fa-exclamation-circle"></i> Warning!</h5>
|
|
|
- You have not yet verified your email address <a class="text-primary"
|
|
|
- href="{{route('verification.send')}}">Click here to
|
|
|
- resend
|
|
|
- verification email</a> <br>
|
|
|
- Please contact support If you didn't receive your verification email.
|
|
|
+ {{__('You have not yet verified your email address')}} <a class="text-primary" href="{{route('verification.send')}}">{{__('Click here to
|
|
|
+ resend verification email')}}</a> <br>
|
|
|
+ {{__('Please contact support If you didnt receive your verification email.')}}
|
|
|
</div>
|
|
|
@endif
|
|
|
@endif
|