mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-26 03:58:45 +02:00
- Autoloader for portal files in the itop-portal-base module - Dependencies moved to root composer.json - Add autoloader for /core and /application content
37 lines
1.0 KiB
Twig
37 lines
1.0 KiB
Twig
{% extends '@WebProfiler/Profiler/layout.html.twig' %}
|
|
|
|
{% block head %}
|
|
{% if collector.hasexception %}
|
|
<style>
|
|
{{ render(path('_profiler_exception_css', { token: token })) }}
|
|
</style>
|
|
{% endif %}
|
|
{{ parent() }}
|
|
{% endblock %}
|
|
|
|
{% block menu %}
|
|
<span class="label {{ collector.hasexception ? 'label-status-error' : 'disabled' }}">
|
|
<span class="icon">{{ include('@WebProfiler/Icon/exception.svg') }}</span>
|
|
<strong>Exception</strong>
|
|
{% if collector.hasexception %}
|
|
<span class="count">
|
|
<span>1</span>
|
|
</span>
|
|
{% endif %}
|
|
</span>
|
|
{% endblock %}
|
|
|
|
{% block panel %}
|
|
<h2>Exceptions</h2>
|
|
|
|
{% if not collector.hasexception %}
|
|
<div class="empty">
|
|
<p>No exception was thrown and caught during the request.</p>
|
|
</div>
|
|
{% else %}
|
|
<div class="sf-reset">
|
|
{{ render(path('_profiler_exception', { token: token })) }}
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %}
|