refactor: refactored auth strings

This commit is contained in:
2022-03-19 19:06:25 +00:00
committed by Miguel Nogueira
parent e0844a7a2b
commit 6338b3ef8b
12 changed files with 85 additions and 76 deletions

View File

@@ -4,7 +4,7 @@
<div class="col-6 offset-5">
<img src="/img/403.svg" width="150px" alt="Access denied" />
<img src="/img/403.svg" width="150px" alt="{{ __('Image Describing Access Denied') }}" />
</div>
@@ -16,12 +16,12 @@
<div class="col">
<div class="alert alert-{{$type}}">
<h4><i class="fas fa-user-lock"></i> {{__('messages.component_accessdenied')}}</h4>
<h4><i class="fas fa-user-lock"></i> {{__('Access Denied')}}</h4>
<p>
{{__('messages.component_nopermission')}}
{{__("We're sorry, but you do not have sufficient permission to access this web page.")}}
</p>
<p>
{{__('messages.component_contact')}}
{{__('Please contact your administrator if you believe this was in error.')}}
</p>
</div>
@@ -31,10 +31,10 @@
@else
@extends('adminlte::page')
@section('title', 'Raspberry Network | Access Denied')
@section('title', config('app.name') . ' | ' . __('Access Denied'))
@section('content_header')
<h4>Access Denied - HTTP 403</h4>
<h4>{{ __('Access Denied - HTTP 403') }}</h4>
@stop
@section('content')
@@ -43,7 +43,7 @@
<div class="col-6 offset-5">
<img src="/img/403.svg" width="150px" alt="Access denied" />
<img src="/img/403.svg" width="150px" alt="{{ __('Image Describing Access Denied') }}" />
</div>
@@ -54,17 +54,17 @@
<div class="col">
<div class="alert alert-{{$type}}">
<h4><i class="fas fa-user-lock"></i> Access Denied</h2>
<h4><i class="fas fa-user-lock"></i> {{ __('Access Denied') }}</h4>
<p class="text-muted">
@if (isset($slot))
{{ $slot }}
@endif
</p>
<p>
We're sorry, but you do not have permission to access this web page.
{{ __("We're sorry, but you do not have permission to access this web page.") }}
</p>
<p>
Please contact your administrator if you believe this was in error.
{{ __('Please contact your administrator if you believe this was in error.') }}
</p>
</div>