Sfoglia il codice sorgente

[WebProfilerBundle] Update the notfound template (to match the default layout)

Victor Berchet 14 anni fa
parent
commit
ae5a506532

+ 11 - 3
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/notfound.twig

@@ -11,7 +11,15 @@
         </div>
     </div>
 
-    <div id="menu">
-        {% render 'WebProfilerBundle:Profiler:searchBar' with { 'token': token } %}
-    </div>
+    <table>
+        <tr><td class="menu">
+            {% render 'WebProfilerBundle:Profiler:searchBar' with { 'token': token } %}
+
+            {% include 'WebProfilerBundle:Profiler:admin.twig' with { 'token': token } only %}
+        </td><td class="main">
+            <div class="content">
+                <h2>Token "{{ token }}" does not exist.</h2>
+            </div>
+        </td></tr>
+    </table>
 {% endblock %}