Merge pull request #152 from WoltLab/tutorial4
[GitHub/WoltLab/woltlab.github.io.git] / snippets / tutorial / tutorial-series / part-4 / templates / boxPersonList.tpl
1 <ul class="sidebarItemList">
2 {foreach from=$boxPersonList item=boxPerson}
3 <li class="box24">
4 <span class="icon icon24 fa-user"></span>
5
6 <div class="sidebarItemTitle">
7 <h3>{anchor object=$boxPerson}</h3>
8 {capture assign='__boxPersonDescription'}{lang __optional=true}wcf.person.boxList.description.{$boxSortField}{/lang}{/capture}
9 {if $__boxPersonDescription}
10 <small>{@$__boxPersonDescription}</small>
11 {/if}
12 </div>
13 </li>
14 {/foreach}
15 </ul>