Files
librenms-librenms/resources/views/errors/db_inconsistent.blade.php
Tony Murray 0959df53e5 Don't use @lang() it doesn't escape the string (#13566)
* Don't use @lang() it doesn't escape the string
Found an issue where a string contained a single quote and broke the page.

* fix regex errors

* fix another style of mis-replacement

* found another issue
2021-11-28 21:17:11 -06:00

21 lines
561 B
PHP

@extends('layouts.error')
@section('title')
{{ __('exceptions.database_inconsistent.title') }}
@endsection
@section('content')
<h3>{{ __('exceptions.database_inconsistent.header') }}</h3>
<div class="message-block">
@foreach($results as $result)
<p>
<h2>{{ $result->getMessage() }}</h2>
@if($result->hasFix())
<div style="margin-left: 3em; font-size: 18px">{{ $result->getFix() }}</div>
@endif
</p>
@endforeach
</div>
@endsection