Browse Source

Merge remote branch 'Exeu/webprofiler-fixes'

* Exeu/webprofiler-fixes:
  Fixed the Profiler-Layout of MongoDBBundle to work without actuvating the DoctrineBundle
Fabien Potencier 14 năm trước cách đây
mục cha
commit
b5085d4823

+ 1 - 1
src/Symfony/Bundle/DoctrineBundle/Resources/views/Collector/db.html.twig

@@ -9,7 +9,7 @@
 
 {% block menu %}
 <span class="label">
-    <span class="icon"><img src="{{ asset('bundles/doctrine/images/profiler-menu.png') }}" alt="" /></span>
+    <span class="icon"><img src="{{ asset('bundles/webprofiler/images/profiler/db.png') }}" alt="" /></span>
     <strong>Doctrine</strong>
     <span class="count">
         <span>{{ collector.querycount }}</span>

+ 2 - 1
src/Symfony/Bundle/DoctrineMongoDBBundle/Resources/views/Collector/mongodb.html.twig

@@ -8,7 +8,8 @@
 {% endblock %}
 
 {% block menu %}
-<span class="picto">
+<span class="label">
+    <span class="icon"><img src="{{ asset('bundles/webprofiler/images/profiler/db.png') }}" alt="" /></span>
     <strong>Doctrine MongoDB</strong>
     <span class="count">
         <span>{{ collector.querycount }}</span>

src/Symfony/Bundle/DoctrineBundle/Resources/public/images/profiler-menu.png → src/Symfony/Bundle/WebProfilerBundle/Resources/public/images/profiler/db.png