Mark the style description as optional
authorAlexander Ebert <ebert@woltlab.com>
Mon, 17 Apr 2023 16:37:45 +0000 (18:37 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 17 Apr 2023 16:37:45 +0000 (18:37 +0200)
Fixes #5379

wcfsetup/install/files/acp/templates/styleList.tpl

index d772d14cd499ddc82e43f251a3e760594f09cdf4..132d75fca928c54f45120bbfcca64c90655150e2 100644 (file)
@@ -49,7 +49,7 @@
                                        <div class="details">
                                                <div class="containerHeadline">
                                                        <h3><a href="{link controller='StyleEdit' id=$style->styleID}{/link}">{$style->styleName}</a></h3>
-                                                       {if $style->styleDescription}<small>{lang}{@$style->styleDescription}{/lang}</small>{/if}
+                                                       {if $style->styleDescription}<small>{lang __optional=true}{@$style->styleDescription}{/lang}</small>{/if}
                                                </div>
                                                <dl class="plain inlineDataList">
                                                        <dt>{lang}wcf.acp.style.users{/lang}</dt>