Skip to content

Commit b03decb

Browse files
committed
Merge branch '7.4' into 8.0
* 7.4: use PHPUnit attributes instead of annotations [WebProfilerBundle] Add link to `xdebug_info()` to config panel issue fix #59412 catalan translation [DependencyInjection][Routing] Define array-shapes to help writing PHP configs using yaml-like arrays [HttpFoundation] Make `Request::createFromGlobals()` use `request_parse_body` when possible
2 parents 5289310 + 6e061ea commit b03decb

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

Resources/views/Collector/config.html.twig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,14 @@
286286
</div>
287287

288288
<div class="metric">
289+
{% if collector.hasXdebugInfo %}
290+
<a href="{{ path('_profiler_xdebug') }}" title="View xdebug_info()" class="link">
291+
{% endif %}
289292
<span class="value value-is-icon {{ not collector.hasxdebug ? 'value-shows-no-color' }}" title="{{ collector.xdebugstatus|default('') }}">{{ source('@WebProfiler/Icon/' ~ (collector.hasxdebug ? 'yes' : 'no') ~ '.svg') }}</span>
290293
<span class="label">Xdebug</span>
294+
{% if collector.hasXdebugInfo %}
295+
</a>
296+
{% endif %}
291297
</div>
292298
</div>
293299
</div>

Resources/views/Profiler/profiler.css.twig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,10 @@ div.table-with-search-field .no-results-message {
789789
border-left: 1px solid var(--table-border-color);
790790
}
791791

792+
.metric .link {
793+
display: inline-flex;
794+
flex-direction: column-reverse;
795+
}
792796
.metric .value {
793797
display: block;
794798
font-size: 24px;

0 commit comments

Comments
 (0)