openvk/Web/Presenters/templates/Gifts/UserGifts.xml

44 lines
1 KiB
XML
Raw Normal View History

{extends "../@listView.xml"}
{block title}
2021-10-07 23:09:14 +03:00
{tr("users_gifts", $user->getFirstName())}
{/block}
{block header}
<a href="{$user->getURL()}">{$user->getCanonicalName()}</a> »
2021-10-07 23:09:14 +03:00
{_gifts}
{/block}
{* BEGIN ELEMENTS DESCRIPTION *}
{block link|strip|stripHtml}
javascript:false
{/block}
{block preview}
2021-10-07 23:09:14 +03:00
<img src="{$x->gift->getImage(2)}" width="75" alt="{_gift}" />
{/block}
{block name}
2021-10-07 23:09:14 +03:00
{_gift}
{/block}
{block description}
<table class="ugc-table" n:if="$hideInfo ? (!$x->anon || $x->sender->getId() === $thisUser->getId()) : true">
<tbody>
<tr>
2021-10-07 23:09:14 +03:00
<td><span class="nobold">{_sender}: </span></td>
<td>
<a href="{$x->sender->getURL()}">
{$x->sender->getFullName()}
</a>
</td>
</tr>
<tr n:if="!empty($x->caption)">
2021-10-07 23:09:14 +03:00
<td><span class="nobold">{_comment}: </span></td>
<td>{$x->caption}</td>
</tr>
</tbody>
</table>
{/block}