the browser-facing portion of osu!
at master 35 lines 1.0 kB view raw
1{{-- 2 Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0. 3 See the LICENCE file in the repository root for full licence text. 4--}} 5@extends('master') 6 7@section('content') 8@include('layout._page_header_v4', ['params' => [ 9 'theme' => 'error', 10]]) 11 12<div class="osu-page osu-page--generic text-center"> 13 <p> 14 {{ osu_trans("layout.errors.{$statusCode}.error") }} 15 </p> 16 17 @if (isset($exceptionMessage)) 18 <p>{{ $exceptionMessage }}</p> 19 @endif 20 21 <p> 22 {!! osu_trans("layout.errors.{$statusCode}.description", ['link' => 23 '<a class="blue_normal" href="'.osu_trans("layout.errors.{$statusCode}.link.href").'">'.osu_trans("layout.errors.{$statusCode}.link.text").'</a>', 24 ]) !!} 25 </p> 26 27 @php 28 $ref = request()->attributes->get('ref'); 29 @endphp 30 @if ($ref !== null) 31 <h4>{{ osu_trans('layout.errors.reference') }}<br><small>{{ $ref }}</small></h4> 32 @endif 33</div> 34 35@stop