Merge remote-tracking branch 'refs/remotes/origin/3.0'
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / groupedUserTrophyList.tpl
1 {if $userTrophyList|count}
2 <ol class="containerList jsUserTrophyList">
3 {foreach from=$userTrophyList item=userTrophy}
4 <li data-object-id="{@$userTrophy->userTrophyID}">
5 <div class="box48">
6 <div><a href="{link controller='Trophy' object=$userTrophy->getTrophy()}{/link}">{@$userTrophy->getTrophy()->renderTrophy(48)}</a></div>
7
8 <div class="containerHeadline">
9 <h3><a href="{link controller='Trophy' object=$userTrophy->getTrophy()}{/link}">{$userTrophy->getTrophy()->getTitle()}</a></h3>
10 <small>{if !$userTrophy->getDescription()|empty}{$userTrophy->getDescription()} – {/if}{@$userTrophy->time|time}</small>
11 </div>
12 </div>
13 </li>
14 {/foreach}
15 </ol>
16
17 <div class="paginationBottom jsPagination"></div>
18 {else}
19 <p>{lang}wcf.user.trophy.noTrophies{/lang}</p>
20 {/if}