From ba2d929183b2bda0e0a93eab6567a6433c16b1f5 Mon Sep 17 00:00:00 2001 From: mrilyew <99399973+mrilyew@users.noreply.github.com> Date: Fri, 22 Nov 2024 11:55:51 +0300 Subject: [PATCH] fix(videos list): show video window on click --- Web/Presenters/templates/Videos/List.xml | 6 +++--- Web/Presenters/templates/components/video.xml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Web/Presenters/templates/Videos/List.xml b/Web/Presenters/templates/Videos/List.xml index a0329c19..a7795169 100644 --- a/Web/Presenters/templates/Videos/List.xml +++ b/Web/Presenters/templates/Videos/List.xml @@ -33,7 +33,7 @@ {/block} {block preview} -
+
{$x->getName()} @@ -41,7 +41,7 @@ {/block} {block name} - {$x->getName()} + {$x->getName()} {/block} {block description} @@ -51,7 +51,7 @@ {_video_uploaded} {$x->getPublicationTime()}
{_video_updated} {$x->getEditTime() ?? $x->getPublicationTime()}

- {_view_video} + {_view_video} {if $x->getCommentsCount() > 0}| {_comments} ({$x->getCommentsCount()}){/if}

{/block} diff --git a/Web/Presenters/templates/components/video.xml b/Web/Presenters/templates/components/video.xml index b1037d93..8d501ee5 100644 --- a/Web/Presenters/templates/components/video.xml +++ b/Web/Presenters/templates/components/video.xml @@ -29,7 +29,7 @@ {_video_uploaded} {$video->getPublicationTime()}

- {_view_video} + {_view_video} {if $video->getCommentsCount() > 0}| {_comments} ({$video->getCommentsCount()}){/if}

{/ifset}