Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

Commit

Permalink
Merge pull request #81 from kejwmen/symfony-twig-deprecation-fix
Browse files Browse the repository at this point in the history
Fix deprecated twig template reference syntax
  • Loading branch information
benji07 authored Feb 4, 2019
2 parents 27c7ea7 + 98a2dd8 commit edbcd31
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Resources/views/Collector/assetic.html.twig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends 'WebProfilerBundle:Profiler:layout.html.twig' %}
{% extends '@WebProfiler/Profiler/layout.html.twig' %}

{% block toolbar %}
{% if collector.displayInWdt %}
Expand All @@ -12,7 +12,7 @@
<span>{{ collector.collections|length }}</span>
</div>
{% endset %}
{% include 'WebProfilerBundle:Profiler:toolbar_item.html.twig' with { 'link': profiler_url } %}
{% include '@WebProfiler/Profiler/toolbar_item.html.twig' with { 'link': profiler_url } %}
{% endif %}
{% endblock %}

Expand Down
4 changes: 2 additions & 2 deletions Resources/views/Collector/container.html.twig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends 'WebProfilerBundle:Profiler:layout.html.twig' %}
{% extends '@WebProfiler/Profiler/layout.html.twig' %}


{% block toolbar %}
Expand All @@ -19,7 +19,7 @@
<span class="sf-toolbar-status">{{ collector.parameters|length }}</span>
</div>
{% endset %}
{% include 'WebProfilerBundle:Profiler:toolbar_item.html.twig' with { 'link': profiler_url } %}
{% include '@WebProfiler/Profiler/toolbar_item.html.twig' with { 'link': profiler_url } %}
{% endif %}
{% endblock %}

Expand Down
4 changes: 2 additions & 2 deletions Resources/views/Collector/routing.html.twig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends 'WebProfilerBundle:Profiler:layout.html.twig' %}
{% extends '@WebProfiler/Profiler/layout.html.twig' %}

{% block toolbar %}
{% if collector.displayInWdt %}
Expand All @@ -17,7 +17,7 @@
<span>{{ collector.ressourcecount }}</span>
</div>
{% endset %}
{% include 'WebProfilerBundle:Profiler:toolbar_item.html.twig' with { 'link': profiler_url } %}
{% include '@WebProfiler/Profiler/toolbar_item.html.twig' with { 'link': profiler_url } %}
{% endif %}
{% endblock %}

Expand Down
4 changes: 2 additions & 2 deletions Resources/views/Collector/twig.html.twig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends 'WebProfilerBundle:Profiler:layout.html.twig' %}
{% extends '@WebProfiler/Profiler/layout.html.twig' %}

{% block toolbar %}
{% if collector.displayInWdt %}
Expand Down Expand Up @@ -45,7 +45,7 @@
<span>{{ collector.functions|length }}</span>
</div>
{% endset %}
{% include 'WebProfilerBundle:Profiler:toolbar_item.html.twig' with { 'link': profiler_url } %}
{% include '@WebProfiler/Profiler/toolbar_item.html.twig' with { 'link': profiler_url } %}
{% endif %}
{% endblock %}

Expand Down

0 comments on commit edbcd31

Please sign in to comment.