Add administration localization options

This commit is contained in:
2020-09-01 12:43:39 +01:00
parent bf5d4058ad
commit c58b5b56d7
14 changed files with 334 additions and 162 deletions

View File

@@ -1,10 +1,10 @@
@extends('adminlte::page')
@section('title', 'Raspberry Network | Staff Members')
@section('title', config('app.name') . ' | ' . __('messages.staff.members'))
@section('content_header')
<h4>Administration / Staff Members</h4>
<h4>{{__('messages.adm')}} / {{__('messages.staff.members')}}</h4>
@stop
@@ -17,7 +17,7 @@
<div class="inner">
<h3>{{$users->count()}}</h3>
<p>Active Staff Members</p>
<p>{{__('messages.staff.active_sm')}}</p>
</div>
<div class="icon">
<i class="fa fa-user-tie"></i>
@@ -35,7 +35,7 @@
<div class="card-header bg-indigo">
<div class="card-title"><h4 class="text-bold">Member Listing</h4></div>
<div class="card-title"><h4 class="text-bold">{{__('messages.staff.m_listing')}}</h4></div>
</div>
@@ -46,13 +46,13 @@
<thead>
<tr>
<th>#</th>
<th>Full Name</th>
<th>{{__('messages.staff.f_name')}}</th>
<th>UUID</th>
<th>Rank</th>
<th>Email</th>
<th>Status</th>
<th>Join Date</th>
<th>Actions</th>
<th>{{__('messages.staff.rank')}}</th>
<th>{{__('messages.contactlabel_email')}}</th>
<th>{{__('messages.reusable.status')}}</th>
<th>{{__('messages.reusable.join_date')}}</th>
<th>{{__('messages.reusable.actions')}}</th>
</tr>
</thead>
@@ -70,7 +70,7 @@
@endforeach
</td>
<td>{{ $user->email }}</td>
<td><span class="badge badge-success">Active</span></td>
<td><span class="badge badge-success">{{__('messages.players.active')}}</span></td>
<td>{{$user->created_at}}</td>
<td>
<button type="button" class="btn btn-sm btn-success mr-2" onclick="window.location.href='{{route('showSingleProfile', ['user' => $user->id])}}'"><i class="fa fa-eye"></i></button>
@@ -87,7 +87,7 @@
<div class="card-footer">
<button type="button" class="btn btn-outline-primary" onclick="window.location.href='{{route("registeredPlayerList")}}'">See Registered Players (Applicant Pool)</button>
<button type="button" class="btn btn-outline-primary" onclick="window.location.href='{{route("registeredPlayerList")}}'">{{__('messages.players.reg_players_staff')}}</button>
</div>