1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-03 06:55:03 +03:00
ifhub.club/application/frontend/skin/synio/components/activity/blocks/recent-item.tpl
2016-10-04 11:40:49 +07:00

18 lines
774 B
Smarty

{component_define_params params=[ 'user', 'topic', 'date' ]}
<div class="ls-activity-block-recent-item">
<a href="{$user->getUserWebPath()}" class="ls-activity-block-recent-user">{$user->getDisplayName()}</a>
<time datetime="{date_format date=$date format='c'}" class="ls-activity-block-recent-date">
{date_format date=$date hours_back="12" minutes_back="60" now="60" day="day H:i" format="j F Y"}
</time>
<div>
<a href="{$topic->getUrl()}" class="ls-activity-block-recent-title">{$topic->getTitle()|escape}</a>
<a href="{$topic->getUrl()}#comments" class="ls-activity-block-recent-comments">
<i class="ls-activity-block-recent-comments-icon"></i>
{$topic->getCountComment()}
</a>
</div>
</div>