mirror of
https://github.com/openvk/openvk
synced 2025-07-08 16:53:02 +03:00
Add video title under post attachment box
This commit is contained in:
parent
63f302b2ab
commit
da1bb1fcad
2 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,10 @@
|
||||||
{/if}
|
{/if}
|
||||||
{elseif $attachment instanceof \openvk\Web\Models\Entities\Video}
|
{elseif $attachment instanceof \openvk\Web\Models\Entities\Video}
|
||||||
<video class="media" src="{$attachment->getURL()}" controls="controls"></video>
|
<video class="media" src="{$attachment->getURL()}" controls="controls"></video>
|
||||||
|
<div class="video-wowzer">
|
||||||
|
<img src="/assets/packages/static/openvk/img/videoico.png" />
|
||||||
|
<a href="/video{$attachment->getPrettyId()}">{$attachment->getName()}</a>
|
||||||
|
</div>
|
||||||
{elseif $attachment instanceof \openvk\Web\Models\Entities\Poll}
|
{elseif $attachment instanceof \openvk\Web\Models\Entities\Poll}
|
||||||
{presenter "openvk!Poll->view", $attachment->getId()}
|
{presenter "openvk!Poll->view", $attachment->getId()}
|
||||||
{elseif $attachment instanceof \openvk\Web\Models\Entities\Post}
|
{elseif $attachment instanceof \openvk\Web\Models\Entities\Post}
|
||||||
|
|
BIN
Web/static/img/videoico.png
Normal file
BIN
Web/static/img/videoico.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 130 B |
Loading…
Reference in a new issue