mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 00:04:04 +02:00
Error Controller: Move close tab creation to template
This commit is contained in:
parent
190c1e8f04
commit
8c24dde17b
@ -19,7 +19,6 @@ class ErrorController extends ActionController
|
|||||||
{
|
{
|
||||||
$error = $this->_getParam('error_handler');
|
$error = $this->_getParam('error_handler');
|
||||||
$exception = $error->exception;
|
$exception = $error->exception;
|
||||||
$this->getTabs()->showOnlyCloseButton();
|
|
||||||
|
|
||||||
Logger::error($exception);
|
Logger::error($exception);
|
||||||
Logger::error('Stacktrace: %s', $exception->getTraceAsString());
|
Logger::error('Stacktrace: %s', $exception->getTraceAsString());
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<div class="controls">
|
<div class="controls">
|
||||||
<?= $this->tabs->render($this) ?>
|
<?= $this->tabs->showOnlyCloseButton() ?>
|
||||||
<?php if ($this->title): ?>
|
<?php if ($this->title): ?>
|
||||||
<h1><?= $this->escape($title) ?></h1>
|
<h1><?= $this->escape($title) ?></h1>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user