1 <ul class="sidebarItemList">
2 {foreach from=$birthdayUserProfiles item=birthdayUserProfile}
4 {user object=$birthdayUserProfile type='avatar32' ariaHidden='true' tabindex='-1'}
6 <div class="sidebarItemTitle">
7 <h3>{user object=$birthdayUserProfile}</h3>
8 <small>{$birthdayUserProfile->getBirthday()}</small>
14 {if $birthdayUserProfiles|count >= 10}
15 <button type="button" class="jsTodaysBirthdays button small more jsOnly">{lang}wcf.global.button.showAll{/lang}</button>
17 <script data-relocate="true">
18 require(['WoltLabSuite/Core/Component/User/List'], ({ UserList }) => {
20 document.querySelector('.jsTodaysBirthdays').addEventListener('click', () => {
21 if (userList === undefined) {
22 userList = new UserList({
23 className: 'wcf\\data\\user\\UserBirthdayAction',
25 date: '{@TIME_NOW|date:'Y-m-d'}',
26 sortField: '{$sortField}',
27 sortOrder: '{$sortOrder}'
29 }, '{@$box->getTitle()|encodeJS} ({@TIME_NOW|date})');