mirror of
https://github.com/openvk/openvk
synced 2024-11-14 11:09:12 +03:00
0f0d3ee950
* De#910fy * Fiksez * newlines --------- Co-authored-by: Dmitry Tretyakov <76806170+tretdm@users.noreply.github.com>
57 lines
1.8 KiB
XML
57 lines
1.8 KiB
XML
{extends "../@listView.xml"}
|
|
{var $iterator = $videos}
|
|
{var $count = $paginatorConf->count}
|
|
{var $page = $paginatorConf->page}
|
|
|
|
{block title}{_videos} {$user->getCanonicalName()}{/block}
|
|
|
|
{block header}
|
|
<a href="{$user->getURL()}">{$user->getCanonicalName()}</a>
|
|
» {_videos}
|
|
{/block}
|
|
|
|
{block size}
|
|
<div style="padding-bottom: 0px; padding-top: 0;" class="summaryBar">
|
|
<div class="summary">
|
|
{tr("videos", $count)}
|
|
<span n:if="isset($thisUser) && $thisUser->getId() == $user->getId() && !OPENVK_ROOT_CONF['openvk']['preferences']['videos']['disableUploading']">
|
|
|
|
|
<a href="/videos/upload">{_upload_video}</a>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
{/block}
|
|
|
|
{block actions}
|
|
|
|
{/block}
|
|
|
|
{* BEGIN ELEMENTS DESCRIPTION *}
|
|
|
|
{block link|strip|stripHtml}
|
|
/video{$x->getPrettyId()}
|
|
{/block}
|
|
|
|
{block preview}
|
|
<div class="video-preview" id="videoOpen" data-id="{$x->getId()}">
|
|
<img src="{$x->getThumbnailURL()}"
|
|
alt="{$x->getName()}"
|
|
style="max-width: 170px; max-height: 127px; margin: auto;" />
|
|
</div>
|
|
{/block}
|
|
|
|
{block name}
|
|
<span id="videoOpen" data-id="{$x->getId()}" style="color:unset;">{$x->getName()}</span>
|
|
{/block}
|
|
|
|
{block description}
|
|
<p>
|
|
<span>{$x->getDescription() ?? ""}</span>
|
|
</p>
|
|
<span style="color: grey;">{_video_uploaded} {$x->getPublicationTime()}</span><br/>
|
|
<span style="color: grey;">{_video_updated} {$x->getEditTime() ?? $x->getPublicationTime()}</span>
|
|
<p>
|
|
<a href="/video{$x->getPrettyId()}" id="videoOpen" data-id="{$x->getId()}">{_view_video}</a>
|
|
{if $x->getCommentsCount() > 0}| <a href="/video{$x->getPrettyId()}#comments">{_comments} ({$x->getCommentsCount()})</a>{/if}
|
|
</p>
|
|
{/block}
|