mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-26 12:08:47 +02:00
N°6934 - Symfony 6.4 - upgrade Symfony bundles to 6.4 (#580)
* Update Symfony lib to version ~6.4.0 * Update code missing return type * Add an iTop general configuration entry to store application secret (Symfony mandatory parameter) * Use dependency injection in ExceptionListener & UserProvider classes
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
{% block menu %}
|
||||
<span class="label {{ collector.hasexception ? 'label-status-error' : 'disabled' }}">
|
||||
<span class="icon">{{ include('@WebProfiler/Icon/exception.svg') }}</span>
|
||||
<span class="icon">{{ source('@WebProfiler/Icon/exception.svg') }}</span>
|
||||
<strong>Exception</strong>
|
||||
{% if collector.hasexception %}
|
||||
<span class="count">
|
||||
@@ -23,11 +23,19 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block panel %}
|
||||
{# these styles are needed to override some styles from Exception page, which wasn't
|
||||
updated yet to the new style of the Symfony Profiler #}
|
||||
<style>
|
||||
.tab-navigation li { background: none; border: 0; font-size: 14px; }
|
||||
.tab-navigation li.active { border-radius: 6px; }
|
||||
.tab-navigation li.active .badge { background-color: var(--selected-badge-background); color: var(--selected-badge-color); }
|
||||
</style>
|
||||
|
||||
<h2>Exceptions</h2>
|
||||
|
||||
{% if not collector.hasexception %}
|
||||
<div class="empty">
|
||||
<p>No exception was thrown and caught during the request.</p>
|
||||
<div class="empty empty-panel">
|
||||
<p>No exception was thrown and caught.</p>
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="sf-reset">
|
||||
|
||||
Reference in New Issue
Block a user