From 7d8947eaebe648953ec5bffc649317049d3a4e11 Mon Sep 17 00:00:00 2001 From: Jill Stingray Date: Thu, 25 Jun 2020 12:09:55 +0000 Subject: [PATCH] Fix broken layout on video view page --- Web/Presenters/templates/Videos/View.xml | 116 +++++++++++------------ 1 file changed, 58 insertions(+), 58 deletions(-) diff --git a/Web/Presenters/templates/Videos/View.xml b/Web/Presenters/templates/Videos/View.xml index 3a080d5a..acbf73ab 100644 --- a/Web/Presenters/templates/Videos/View.xml +++ b/Web/Presenters/templates/Videos/View.xml @@ -1,62 +1,62 @@ -{extends "../@layout.xml"} - -{block title}Видеозапись{/block} - -{block header} - {$user->getCanonicalName()} - » - {_"videos"} - » - {_"video"} -{/block} - -{block content} -
- {if $video->getType() === 0} - - {else} - {var driver = $video->getVideoDriver()} - {if !$driver} - Эта видеозапись не поддерживается в вашей версии OpenVK. - {else} - {$driver->getEmbed()|noescape} - {/if} - {/if} -
- -
- -
-
- {include "../components/comments.xml", - comments => $comments, - count => $cCount, - page => $cPage, - model => "videos", - parent => $video} -
-
-
-

{_"information"}

- {_"video_name"}: - {$video->getName()}
- {_"video_description"}: - {$video->getDescription() ?? "(отсутствует)"}
- {_"video_uploaded_by"}: - {$user->getFullName()}
- {_"video_upload_date"}: - {$video->getPublicationTime()} -
-
-
-

{_actions}

- - {_edit} +{extends "../@layout.xml"} + +{block title}Видеозапись{/block} + +{block header} + {$user->getCanonicalName()} + » + {_"videos"} + » + {_"video"} +{/block} + +{block content} +
+ {if $video->getType() === 0} + + {else} + {var driver = $video->getVideoDriver()} + {if !$driver} + Эта видеозапись не поддерживается в вашей версии OpenVK. + {else} + {$driver->getEmbed()|noescape} + {/if} + {/if} +
+ +
+ +
+
+ {include "../components/comments.xml", + comments => $comments, + count => $cCount, + page => $cPage, + model => "videos", + parent => $video} +
+
+
+

{_"information"}

+ {_"video_name"}: + {$video->getName()}
+ {_"video_description"}: + {$video->getDescription() ?? "(отсутствует)"}
+ {_"video_uploaded_by"}: + {$user->getFullName()}
+ {_"video_upload_date"}: + {$video->getPublicationTime()} +
+
+
+

{_actions}

+ + {_edit} {_delete} -
-
-
-{/block} +
+
+
+{/block}