Skip to content
Permalink
Browse files

bug #30037 Disable Twig in the profiler menu when Twig is not used (j…

…aviereguiluz)

This PR was merged into the 3.4 branch.

Discussion
----------

Disable Twig in the profiler menu when Twig is not used

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no <!-- don't forget to update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | #30033
| License       | MIT
| Doc PR        | -

Commits
-------

b474081 Disable Twig in the profiler menu when Twig is not used
  • Loading branch information...
nicolas-grekas committed Jan 30, 2019
2 parents 591c805 + b474081 commit fb43484f85a307aebcdc70099fe2c558fdc0124c
@@ -31,7 +31,7 @@
{% endblock %}

{% block menu %}
<span class="label">
<span class="label {{ 0 == collector.templateCount ? 'disabled' }}">
<span class="icon">{{ include('@WebProfiler/Icon/twig.svg') }}</span>
<strong>Twig</strong>
</span>

0 comments on commit fb43484

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.