Browse Source

Merge pull request #4352 from jordisala1991/hotfix/fix_breadcrumbs

Fix breadcrumb without link
Christian Gripp 8 years ago
parent
commit
92dcd29b79
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Resources/views/standard_layout.html.twig

+ 2 - 2
Resources/views/standard_layout.html.twig

@@ -155,7 +155,7 @@ file that was distributed with this source code.
                                                             {%- set label = label|trans(menu.extra('translation_params', {}), translation_domain) -%}
                                                         {%- endif -%}
 
-                                                        {% if not loop.last  %}
+                                                        {% if not loop.last %}
                                                             <li>
                                                                 {% if menu.uri is not empty %}
                                                                     <a href="{{ menu.uri }}">
@@ -166,7 +166,7 @@ file that was distributed with this source code.
                                                                         {% endif %}
                                                                     </a>
                                                                 {% else %}
-                                                                    {{ label }}
+                                                                    <span>{{ label }}</span>
                                                                 {% endif %}
                                                             </li>
                                                         {% else %}