From: Joshua Rüsweg Date: Mon, 6 Aug 2018 09:30:11 +0000 (+0200) Subject: Add showOrder function for trophies X-Git-Tag: 5.2.0_Alpha_1~364^2~104^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2126bf5e070b877a994e4aa10143670d5c013a2f;p=GitHub%2FWoltLab%2FWCF.git Add showOrder function for trophies See #2641 --- diff --git a/wcfsetup/install/files/acp/templates/trophyAdd.tpl b/wcfsetup/install/files/acp/templates/trophyAdd.tpl index 4279ced2bb..8908e03807 100644 --- a/wcfsetup/install/files/acp/templates/trophyAdd.tpl +++ b/wcfsetup/install/files/acp/templates/trophyAdd.tpl @@ -121,6 +121,14 @@ +
+
+
+ + {lang}wcf.acp.trophy.showOrder.description{/lang} +
+
+
diff --git a/wcfsetup/install/files/acp/templates/trophyList.tpl b/wcfsetup/install/files/acp/templates/trophyList.tpl index 6e7b5b751e..0aa506c315 100644 --- a/wcfsetup/install/files/acp/templates/trophyList.tpl +++ b/wcfsetup/install/files/acp/templates/trophyList.tpl @@ -1,12 +1,18 @@ {include file='header' pageTitle='wcf.acp.menu.link.trophy.list'}
@@ -25,44 +31,35 @@ {hascontent}
{content} - {pages print=true assign=pagesLinks controller='TrophyList' link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder"} + {pages print=true assign=pagesLinks controller='TrophyList' link="pageNo=%d"} {/content}
{/hascontent} {if $objects|count} -
- - - - - - - - - {event name='columnHeads'} - - - - - {foreach from=$objects item=trophy} - - - - - - - - {event name='columns'} - +
+
    + {foreach from=$objects item='trophy'} +
  1. + + {$trophy->getTitle()} + + + + + + + + {event name='itemButtons'} + + +
  2. {/foreach} -
-
{lang}wcf.global.objectID{/lang}{lang}wcf.global.title{/lang}{lang}wcf.acp.trophy.category{/lang}
- - - - {@$trophy->trophyID}{@$trophy->renderTrophy(32)}{$trophy->getTitle()}{$trophy->getCategory()->getTitle()}
- + + +
+ +