EIOS/tpl/tpl_notification_item.html

27 lines
1.1 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<a href="/pm/" >
<i class="icon-envelope-alt" style="font-size: 26px;"></i>
{if $user.pm_new>0}<span class="badge badge-important" style="top:6px;">!</span>{/if}
{*<span class="badge badge-important">!</span>*}
</a>
{*//старая версия лички
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="icon-envelope-alt"></i>
{if $user.pm_new!=0}<span class="badge badge-important">{$user.pm_new}</span>{/if}
</a>
<ul class="dropdown-menu extended inbox">
<li>{if $user.pm_new!=0}<p>У Вас {$user.pm_new} новых сообщений</p>{else}<p>У Вас {$user.pm_kol} сообщений</p>{/if}</li>
{foreach from=$user.pm item=up}
<li>
<a href="/pm/answer/{$up.id}/">
{if $up.from.foto!=""}<span class="photo"><img src="/upload/users/ava/{$up.from.foto}" alt="avatar" /></span>{/if}
<span class="subject">
<span class="from">{$up.from.fio}</span>
<span class="time">{$up.data}</span>
</span>
<span class="message">{$up.message|truncate}</span>
</a>
</li>
{/foreach}
<li><a href="/pm/">Просмотреть все сообщения</a></li>
</ul>
*}