Improve trophyList view
authorJoshua Rüsweg <josh@bastelstu.be>
Fri, 4 Aug 2017 14:17:21 +0000 (16:17 +0200)
committerJoshua Rüsweg <josh@bastelstu.be>
Fri, 4 Aug 2017 14:17:21 +0000 (16:17 +0200)
See #2315

com.woltlab.wcf/templates/trophyList.tpl

index a023888bc6fa0e35b8aa889059ba8b1ec828f462..4ab470b81981853200b5f996a413b143f1ff4292 100644 (file)
@@ -43,9 +43,9 @@
                </nav>
        {/if}
 
-       <div class="tabMenuContent">
+       <div{if $categories|count > 1} class="tabMenuContent"{/if}>
                {if $objects|count}
-                       <ol class="section containerBoxList trophyCategoryList tripleColumned">
+                       <ol class="section containerList trophyCategoryList tripleColumned">
                                {foreach from=$objects item=trophy}
                                        <li class="box64">
                                                <div>{@$trophy->renderTrophy(64)}</div>