From 5fd4316270bf1a4d9144553e09d422df1108c860 Mon Sep 17 00:00:00 2001 From: Michael <michael.danielczok@gmail.com> Date: Thu, 24 Nov 2016 11:53:12 +0100 Subject: [PATCH] =?UTF-8?q?refactor:=20Standardwert=20f=C3=BCr=20Icon=20in?= =?UTF-8?q?=20Locale=20fix:=20wenn=20keine=20Icon=20-->=20div=20soll=20weg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- locale.xml | 4 ++-- src/QUI/Menu/SidebarDropDownMenu.Simple.html | 8 ++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/locale.xml b/locale.xml index b85a470..c097321 100644 --- a/locale.xml +++ b/locale.xml @@ -99,8 +99,8 @@ <ad><![CDATA[]]></ad> </locale> <locale name="menu.control.navigation.setting.levelIcon"> - <de><![CDATA[Weitere Ebenen Icon</br>Standard: </br>angle-double-right]]></de> - <en><![CDATA[Navigation levels icon<br/>Default: </br>angle-double-right]]></en> + <de><![CDATA[Weitere Ebenen Icon</br>Standard: </br>fa-angle-double-down]]></de> + <en><![CDATA[Navigation levels icon<br/>Default: </br>fa-angle-double-down]]></en> <ad><![CDATA[]]></ad> </locale> </groups> diff --git a/src/QUI/Menu/SidebarDropDownMenu.Simple.html b/src/QUI/Menu/SidebarDropDownMenu.Simple.html index b82e1d7..14b3619 100644 --- a/src/QUI/Menu/SidebarDropDownMenu.Simple.html +++ b/src/QUI/Menu/SidebarDropDownMenu.Simple.html @@ -53,10 +53,14 @@ {if count ( $subnavigation ) && ($level < $levels || $levels == 0)} - <i class="fa quiqqer-fa-list-icon fa-fw {$levelIcon} quiqqer-fa-levels-icon - {if $Rewrite->isIdInPath($Child->getId())} fa-nav-levels-rotate{/if} "></i> + {if $levelIcon} + <i class="fa quiqqer-fa-list-icon fa-fw {$levelIcon} quiqqer-fa-levels-icon + {if $Rewrite->isIdInPath($Child->getId())} fa-nav-levels-rotate{/if} "></i> + {/if} {else} + {if $listIcon} <i class="fa quiqqer-fa-list-icon fa-fw {$listIcon}"></i> + {/if} {/if} <a href="{url site=$Child}" class="quiqqer-navigation-link -- GitLab