|
1 | 1 | {if $boxPosition == 'sidebarLeft' || $boxPosition == 'sidebarRight'} |
2 | | - <ul class="sidebarItemList"> |
| 2 | + <ul class="sidebarList"> |
3 | 3 | {foreach from=$boxArticleList item=boxArticle} |
4 | | - <li class="box24 sidebarItem"> |
5 | | - <a href="{$boxArticle->getLink()}" aria-hidden="true" tabindex="-1">{unsafe:$boxArticle->getUserProfile()->getAvatar()->getImageTag(24)}</a> |
| 4 | + <li class="sidebarListItem"> |
| 5 | + <div class="sidebarListItem__avatar"> |
| 6 | + {user object=$boxArticle->getUserProfile() type='avatar24' ariaHidden='true' tabindex='-1'} |
| 7 | + </div> |
6 | 8 |
|
7 | | - <div class="sidebarItemTitle"> |
8 | | - <h3>{anchor object=$boxArticle class='articleLink' title=$boxArticle->getTitle()}</h3> |
9 | | - |
10 | | - <small> |
11 | | - {if $boxSortField == 'time'} |
| 9 | + <div class="sidebarListItem__content"> |
| 10 | + <h3 class="sidebarListItem__title"> |
| 11 | + {anchor object=$boxArticle class='articleLink sidebarListItem__link' title=$boxArticle->getTitle()} |
| 12 | + </h3> |
| 13 | + </div> |
| 14 | + |
| 15 | + <div class="sidebarListItem__meta"> |
| 16 | + {if $boxSortField == 'time'} |
| 17 | + <div class="sidebarListItem__meta__author"> |
12 | 18 | {user object=$boxArticle->getUserProfile() tabindex='-1'} |
13 | | - <span class="separatorLeft">{time time=$boxArticle->time}</span> |
14 | | - {elseif $boxSortField == 'views'} |
| 19 | + </div> |
| 20 | + <div class="sidebarListItem__meta__time"> |
| 21 | + {time time=$boxArticle->time} |
| 22 | + </div> |
| 23 | + {elseif $boxSortField == 'views'} |
| 24 | + <div class="sidebarListItem__meta__views"> |
15 | 25 | {lang article=$boxArticle}wcf.article.articleViews{/lang} |
16 | | - {elseif $boxSortField == 'comments'} |
| 26 | + </div> |
| 27 | + {elseif $boxSortField == 'comments'} |
| 28 | + <div class="sidebarListItem__meta__comments"> |
17 | 29 | {$boxArticle->getDiscussionProvider()->getDiscussionCountPhrase()} |
18 | | - {elseif $boxSortField == 'cumulativeLikes'} |
| 30 | + </div> |
| 31 | + {elseif $boxSortField == 'cumulativeLikes'} |
| 32 | + <div class="sidebarListItem__meta__reactions"> |
19 | 33 | {if MODULE_LIKE && $__wcf->getSession()->getPermission('user.like.canViewLike') && $boxArticle->cachedReactions} |
20 | 34 | {include file='shared_topReaction' cachedReactions=$boxArticle->cachedReactions render='full'} |
21 | 35 | {/if} |
22 | | - {/if} |
23 | | - </small> |
| 36 | + </div> |
| 37 | + {/if} |
24 | 38 | </div> |
25 | 39 | </li> |
26 | 40 | {/foreach} |
|
0 commit comments