mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-05 16:04:24 +03:00
25 lines
788 B
Smarty
25 lines
788 B
Smarty
{**
|
|
* Список заметок созданных пользователем
|
|
*}
|
|
|
|
{extends file='layouts/layout.user.tpl'}
|
|
|
|
{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()->getDisplayName()}</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}
|
|
{include file='alert.tpl' mAlerts=$aLang.user_note_list_empty sAlertStyle='empty'}
|
|
{/if}
|
|
|
|
{include file='pagination.tpl' aPaging=$aPaging}
|
|
{/block} |