Translated Links View Panel

This commit is contained in:
Frank 2023-06-14 17:13:37 +02:00
parent 6e10676b71
commit 7ce2bc48c5
2 changed files with 12 additions and 7 deletions

View File

@ -287,11 +287,16 @@ return [
'env.' => '.env+',
########Edit User View Panel Blade########
'Edit User' => 'Edit User+',
'Logo' => 'Logo+',
'Page description' => 'Page description+',
'Role' => 'Role+',
########Links View Panel Blade########
'Title' => 'Title+',
'Config' => 'Config+',
'Advanced Config' => 'Advanced Config+',

View File

@ -13,17 +13,17 @@
<div class="col-sm-12">
<section class="text-gray-400">
<h2 class="mb-4 card-header"><i class="bi bi-link-45deg"> Links</i></h2>
<h2 class="mb-4 card-header"><i class="bi bi-link-45deg">{{__('messages.Links')}}</i></h2>
<div class="card-body p-0 p-md-3">
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th scope="col">Link</th>
<th scope="col">Title</th>
<th scope="col">Clicks</th>
<th scope="col">Delete</th>
<th scope="col">{{__('messages.Link')}}</th>
<th scope="col">{{__('messages.Title')}}</th>
<th scope="col">{{__('messages.Clicks')}}</th>
<th scope="col">{{__('messages.Delete')}}</th>
</tr>
</thead>
<tbody>
@ -32,7 +32,7 @@
<td title="{{ $link->link }}"><a style="color:#3985ff;text-decoration:underline;" href="{{ $link->link }}" target="_blank">{{ Str::limit($link->link, 50) }}</a></td>
<td title="{{ $link->title }}">{{ Str::limit($link->title, 30) }}</td>
<td class="text-right">{{ $link->click_number }}</td>
<td><a href="{{ route('deleteLinkUser', $link->id ) }}" class="text-danger">Delete</a></td>
<td><a href="{{ route('deleteLinkUser', $link->id ) }}" class="text-danger">{{__('messages.Delete')}}</a></td>
</tr>
@endforeach
</tbody>
@ -43,7 +43,7 @@
{!! $links ?? ''->links() !!}
</ul>
<a class="btn btn-primary" href="{{ url('/admin/users/all') }}"><i class="bi bi-arrow-left-short"></i> Back</a>
<a class="btn btn-primary" href="{{ url('/admin/users/all') }}"><i class="bi bi-arrow-left-short"></i>{{__('messages.Back')}} </a>
</div>
</section>