initial commit
This commit is contained in:
22
vendor/symfony/web-profiler-bundle/Resources/views/Profiler/info.html.twig
vendored
Normal file
22
vendor/symfony/web-profiler-bundle/Resources/views/Profiler/info.html.twig
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
{% extends '@WebProfiler/Profiler/layout.html.twig' %}
|
||||
|
||||
{% set messages = {
|
||||
'no_token' : {
|
||||
status: 'error',
|
||||
title: (token|default('') == 'latest') ? 'There are no profiles' : 'Token not found',
|
||||
message: (token|default('') == 'latest') ? 'No profiles found.' : 'Token "' ~ token|default('') ~ '" not found.'
|
||||
}
|
||||
} %}
|
||||
|
||||
{% block summary %}
|
||||
<div class="status status-{{ messages[about].status }}">
|
||||
<div class="container">
|
||||
<h2>{{ messages[about].status|title }}</h2>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block panel %}
|
||||
<h2>{{ messages[about].title }}</h2>
|
||||
<p>{{ messages[about].message }}</p>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user