瀏覽代碼

Merge remote branch 'francisbesset/framework_exception'

* francisbesset/framework_exception:
  [FrameworkBundle] Fixed typo in traces.html.twig
  [FrameworkBundle] Fixed typo in trace.html.twig
Fabien Potencier 14 年之前
父節點
當前提交
544186dd59

+ 2 - 2
src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/trace.html.twig

@@ -12,8 +12,8 @@
     in {{ trace.file|format_file(trace.line) }} 
     {% spaceless %}
     <a href="#" onclick="toggle('trace_{{ prefix ~ '_' ~ i }}'); switchIcons('icon_{{ prefix ~ '_' ~ i }}_open', 'icon_{{ prefix ~ '_' ~ i }}_close'); return false;">
-        <img class="toggle" id="icon_{{ prefix ~ '_' ~ i }}_close" alt="-" src="{{ asset('bundles/framework/images/blue_picto_less.gif') }}" style="visibility: {{ 0 == prefix ? 'hidden' : 'display' }}" />
-        <img class="toggle" id="icon_{{ prefix ~ '_' ~ i }}_open" alt="+" src="{{ asset('bundles/framework/images/blue_picto_more.gif') }}" style="visibility: {{ 0 == prefix ? 'display' : 'hidden' }}; margin-left: -18px" />
+        <img class="toggle" id="icon_{{ prefix ~ '_' ~ i }}_close" alt="-" src="{{ asset('bundles/framework/images/blue_picto_less.gif') }}" style="visibility: {{ 0 == i ? 'display' : 'hidden' }}" />
+        <img class="toggle" id="icon_{{ prefix ~ '_' ~ i }}_open" alt="+" src="{{ asset('bundles/framework/images/blue_picto_more.gif') }}" style="visibility: {{ 0 == i ? 'hidden' : 'display' }}; margin-left: -18px" />
     </a>
     {% endspaceless %}
     <div id="trace_{{ prefix ~ '_' ~ i }}" style="display: {{ 0 == i ? 'block' : 'none' }}" class="trace">

+ 1 - 1
src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/traces.html.twig

@@ -11,7 +11,7 @@
             {% endspaceless %}
         </h2>
     {% else %}
-        <h2>Stack Trace</h3>
+        <h2>Stack Trace</h2>
     {% endif %}
 
     <a id="traces_link_{{ position }}"></a>