1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-17 13:54:26 +03:00
ifhub.club/application/frontend/skin/developer/components/user/blocks/block.user-note.tpl

19 lines
489 B
Smarty
Raw Normal View History

2013-05-04 17:10:22 +03:00
{**
* Блок с заметкой о пользователе
*
* @styles css/blocks.css
*}
2014-08-22 15:41:12 +03:00
{extends 'components/block/block.tpl'}
{block 'block_options' append}
{$mods = "{$mods} user-note nopadding"}
2013-05-04 17:10:22 +03:00
2014-01-31 09:20:00 +02:00
{if ! $oUserCurrent or ( $oUserCurrent->getId() == $oUserProfile->getId() )}
2014-08-22 15:41:12 +03:00
{$show = false}
2013-06-10 13:10:15 +03:00
{/if}
{/block}
{block 'block_content_after'}
{include 'components/note/note.tpl' classes='js-user-note' note=$oUserProfile->getUserNote() targetId=$oUserProfile->getId()}
2013-05-04 17:10:22 +03:00
{/block}