Commit 9dcc2b55 authored by Tino Goratsch's avatar Tino Goratsch

minor improvement

parent 50d789cc
......@@ -14,7 +14,7 @@ interface BootstrapInterface extends HttpKernelInterface
/**
* Contains the current ACP3 version string
*/
const VERSION = '4.0.0-rc.10';
const VERSION = '4.0.0-rc.10.1';
/**
* Performs some startup checks
......
......@@ -18,6 +18,7 @@ class ServerError extends Core\Controller\AbstractFrontendAction
public function execute()
{
$this->breadcrumb->append($this->translator->t('errors', 'frontend_index_server_error'));
$this->setLayout('Errors/layout.tpl');
$this->response->setStatusCode(Response::HTTP_INTERNAL_SERVER_ERROR);
}
......
{extends file="asset:Errors/Frontend/layout.tpl"}
{extends file="asset:$LAYOUT"}
{block CONTENT}
<div class="alert alert-warning text-center">
......
{if $IS_AJAX}
{include file="asset:system/ajax.tpl" inline}
{else}
<!DOCTYPE html>
<html lang="{$LANG}" dir="{$LANG_DIRECTION}">
<head>
{include file="asset:System/Partials/head.tpl" inline}
</head>
<body>
<div class="container text-center">
<h1 id="logo">
<a href="{uri args=""}">
<img src="{$DESIGN_PATH}Assets/img/logo.png"
srcset="{$DESIGN_PATH}Assets/img/logo.png 1x, {$DESIGN_PATH}Assets/img/logo@2x.png 2x"
alt="{site_title}">
</a>
</h1>
<main role="main" id="content">
<h2>{page_title}</h2>
{block CONTENT}{/block}
</main>
</div>
<!-- JAVASCRIPTS -->
</body>
</html>
{/if}
<!DOCTYPE html>
<html lang="{$LANG}" dir="{$LANG_DIRECTION}">
<head>
{include file="asset:System/Partials/head.tpl" inline}
</head>
<body>
<div class="container text-center">
<h1 id="logo">
<a href="{uri args=""}">
<img src="{$DESIGN_PATH}Assets/img/logo.png"
srcset="{$DESIGN_PATH}Assets/img/logo.png 1x, {$DESIGN_PATH}Assets/img/logo@2x.png 2x"
alt="{site_title}">
</a>
</h1>
<main role="main" id="content">
<h2>{page_title}</h2>
{block CONTENT}{/block}
</main>
</div>
<!-- JAVASCRIPTS -->
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment