1
0
mirror of https://github.com/flarum/core.git synced 2025-07-24 10:11:43 +02:00
Files
php-flarum/framework/core/views/content.blade.php
Toby Zerner 6f4d7a36b6 Build very rough HTML-only content
And redirect to the "no JS" mode if the JS app crashes on boot.

ClientView/ClientAction is all a bit of a mess and will need to be
radically cleaned up at some point...
2015-08-06 12:21:11 +09:30

7 lines
274 B
PHP

@if (! $noJs) <noscript> @endif
<div class="container">
<div class="Alert">You're viewing the HTML-only version of {{ $forum->attributes->title }}. Upgrade your browser for the full version.</div>
</div>
{!! $content !!}
@if (! $noJs) </noscript> @endif