Файл: content/themes/facebook/templates/ajax.live.notifications.tpl
Строк: 44
{foreach $notifications as $notification}
<li
class="navMenuItem {if $notification.Viewed == 'N'}active{/if}"
id="{$notification.ID}">
<a
href="{$notification.link}"
class="navDataContainer">
<div
class="dataSideWrapper medium">
<img
src="{$SITE_URL}/{$notification.UserAvatarPath}" />
</div>
<div class="navDataWrapper
ml5">
<div class="dataContent">
<span
class="blue"><strong>{$notification.UserFirstName}
{$notification.UserLastName}</strong></span>
{$notification.message}
</div>
<div class="dataContent" style="margin-top:
2px;">
<small><span
class="timeago"
data-time="{$notification.Time}"></span></small>
</div>
</div>
</a>
</li>
{/foreach}
<li class="hidden notifiCounter"
id="{$userArray.UserNewNotifications}"></li>
<script>jQuery("span[class*=timeago]").timeago();</script>