clipbucket/upload/styles/cbv3/layout/blocks/pm/notifications.html
Arslan Hassan c703692e7e Added : Ajaxed msgs notifications :D
Fixed : Friend requests system
Added : unseen,unread options for recipients
2013-01-04 14:28:09 +00:00

26 lines
No EOL
827 B
HTML

{$threads=$cbpm->get_threads(['limit'=>5])}
<div class="notifications">
<div class="notify_title">{lang code='Messages'}</div>
<div class="seperator"></div>
<div class="notifications-container cbv3-scroller">
<div id="new_msgs"></div>
{if $threads}
{foreach $threads as $_thread}
{if $_thread}
{if $_thread@last}{$last=true}{else}{$last=false}{/if}
{$block=get_template('msgs_notifications_block','path')}
{include file=$block thread=$_thread last=$last}
{/if}
{/foreach}
{else}
<div class="no_msgs_notifications">No messages</div>
{/if}
</div>
<div class="seperator"></div>
<div class="all_notifications"><a href="">Show all Messages</a></div>
</div>