1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-08 17:34:26 +03:00
ifhub.club/application/frontend/skin/developer/actions/ActionProfile/created.notes.tpl

27 lines
838 B
Smarty

{**
* Список заметок созданных пользователем
*}
{extends file='layouts/layout.user.tpl'}
{block name='layout_user_page_title'}{$aLang.user_menu_publication}{/block}
{block name='layout_content'}
{include file='navs/nav.user.created.tpl'}
{if $aNotes}
<table class="table table-profile-notes" cellspacing="0">
{foreach $aNotes as $oNote}
<tr>
<td class="cell-username"><a href="{$oNote->getTargetUser()->getUserWebPath()}">{$oNote->getTargetUser()->getLogin()}</a></td>
<td class="cell-note">{$oNote->getText()}</td>
<td class="cell-date">{date_format date=$oNote->getDateAdd() format="j F Y"}</td>
</tr>
{/foreach}
</table>
{else}
<div class="notice-empty">{$aLang.user_note_list_empty}</div>
{/if}
{include file='pagination.tpl' aPaging=$aPaging}
{/block}