Thomas Rabaix 10 роки тому
батько
коміт
4b10613bea
1 змінених файлів з 17 додано та 17 видалено
  1. 17 17
      Resources/views/Core/tab_menu_template.html.twig

+ 17 - 17
Resources/views/Core/tab_menu_template.html.twig

@@ -83,21 +83,21 @@
 {% endblock %}
 
 {% block linkElement %}
-	<a href="{{ item.uri }}"{{ macros.attributes(item.linkAttributes) }}>
-		{% if item.attribute('icon') is not empty  %}
-    		<i class="{{ item.attribute('icon') }}"></i> 
-    	{% endif %}
-		{{ block('label') }}
-	</a>
+    <a href="{{ item.uri }}"{{ macros.attributes(item.linkAttributes) }}>
+        {% if item.attribute('icon') is not empty  %}
+            <i class="{{ item.attribute('icon') }}"></i>
+        {% endif %}
+        {{ block('label') }}
+    </a>
 {% endblock %}
 
 {% block spanElement %}
-	<span>{{ macros.attributes(item.labelAttributes) }}>
-		{% if item.attribute('icon') is not empty  %}
-    		<i class="{{ item.attribute('icon') }}"></i> 
-    	{% endif %}
-		{{ block('label') }}
-	</span>
+    <span>{{ macros.attributes(item.labelAttributes) }}>
+        {% if item.attribute('icon') is not empty  %}
+            <i class="{{ item.attribute('icon') }}"></i>
+        {% endif %}
+        {{ block('label') }}
+    </span>
 {% endblock %}
 
 {% block dropdownElement %}
@@ -107,11 +107,11 @@
     {%- set attributes = attributes|merge({'class': classes|join(' ')}) %}
     {%- set attributes = attributes|merge({'data-toggle': 'dropdown'}) %}
     <a href="#"{{ macros.attributes(attributes) }}>
-    	{% if item.attribute('icon') is not empty  %}
-    		<i class="{{ item.attribute('icon') }}"></i> 
-    	{% endif %}
-    	{{ block('label') }} 
-    	<b class="caret"></b>
+        {% if item.attribute('icon') is not empty  %}
+            <i class="{{ item.attribute('icon') }}"></i>
+        {% endif %}
+        {{ block('label') }}
+        <b class="caret"></b>
     </a>
 {% endblock %}