Small optimization
authorMatthias Schmidt <gravatronics@live.com>
Mon, 6 Jan 2014 17:27:13 +0000 (18:27 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Mon, 6 Jan 2014 17:27:13 +0000 (18:27 +0100)
wcfsetup/install/files/acp/templates/languageItemList.tpl

index 18d13aeccdccd199df08488acdb54a823f875221..df4405582e9224e08251d96c5e2a2f53a0727a34 100644 (file)
@@ -92,7 +92,7 @@
                                        <div>
                                                <div class="details">
                                                        <div class="containerHeadline">
-                                                               <h3><a class="jsLanguageItem" data-language-item-id="{@$item->languageItemID}">{$item->languageItem}</a>{if !$item->languageCustomItemValue|is_null} <span class="icon icon16 icon-bookmark jsTooltip" title="{lang}wcf.acp.language.item.hasCustomValue{/lang}"></span>{/if}</h3>
+                                                               <h3><a class="jsLanguageItem" data-language-item-id="{@$item->languageItemID}">{$item->languageItem}</a>{if $item->languageCustomItemValue !== null} <span class="icon icon16 icon-bookmark jsTooltip" title="{lang}wcf.acp.language.item.hasCustomValue{/lang}"></span>{/if}</h3>
                                                        </div>
                                                        
                                                        <p>{if $item->languageUseCustomValue}{$item->languageCustomItemValue|truncate:255}{else}{$item->languageItemValue|truncate:255}{/if}</p>