8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff361c8 commit 7ebc34cCopy full SHA for 7ebc34c
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/twig.html.twig
@@ -46,6 +46,21 @@
46
{% endset %}
47
48
{% set text %}
49
+ {% set template = collector.templates|keys|first %}
50
+ {% set file = collector.templatePaths[template]|default(false) %}
51
+ {% set link = file ? file|file_link(1) : false %}
52
+ <div class="sf-toolbar-info-piece">
53
+ <b>Entry View</b>
54
+ <span>
55
+ {% if link %}
56
+ <a href="{{ link }}" title="{{ file }}" class="stretched-link">
57
+ {{ template }}
58
+ </a>
59
+ {% else %}
60
61
+ {% endif %}
62
+ </span>
63
+ </div>
64
<div class="sf-toolbar-info-piece">
65
<b>Render Time</b>
66
<span>{{ time }} ms</span>
0 commit comments