diff --git a/Web/Presenters/templates/Videos/List.xml b/Web/Presenters/templates/Videos/List.xml index b9eac543..adc1c7b8 100644 --- a/Web/Presenters/templates/Videos/List.xml +++ b/Web/Presenters/templates/Videos/List.xml @@ -33,9 +33,11 @@ {/block} {block preview} - {$x->getName()} +
+ {$x->getName()} +
{/block} {block name} @@ -43,7 +45,13 @@ {/block} {block description} - {$x->getDescription() ?? ""}
+

+ {$x->getDescription() ?? ""} +

{_"video_uploaded"} {$x->getPublicationTime()}
{_"video_updated"} {$x->getEditTime() ?? $x->getPublicationTime()} +

+ {_view_video} + {if $x->getCommentsCount() > 0}| {_"comments"} ({$x->getCommentsCount()}){/if} +

{/block} diff --git a/Web/static/css/style.css b/Web/static/css/style.css index b8c40939..4c0d3757 100644 --- a/Web/static/css/style.css +++ b/Web/static/css/style.css @@ -35,6 +35,10 @@ a { cursor: pointer; } +p { + margin: 5px 0; +} + .layout { width: 791px; margin: 0 auto; @@ -1559,13 +1563,14 @@ body.scrolled .toTop:hover { padding: 0 6px; } -.ovk-video>.preview { +.ovk-video>.preview, .video-preview { width: 170px; height: 127px; - border: 1px solid #ccc; align-content: center; display: flex; - padding: 1px; + padding: 2px; + box-shadow: inset 0 0 0px 1px #ccc, inset 0 0 0px 2px #fff; + background-color: #000; } #wallAttachmentMenu { diff --git a/locales/en.strings b/locales/en.strings index 3adcd485..ffbfa11b 100644 --- a/locales/en.strings +++ b/locales/en.strings @@ -513,6 +513,8 @@ "videos_one" = "$1 video"; "videos_other" = "$1 videos"; +"view_video" = "View"; + /* Notifications */ "feedback" = "Feedback"; diff --git a/locales/ru.strings b/locales/ru.strings index 74579576..df897f18 100644 --- a/locales/ru.strings +++ b/locales/ru.strings @@ -543,6 +543,8 @@ "videos_many" = "$1 видеозаписей"; "videos_other" = "$1 видеозаписей"; +"view_video" = "Просмотр"; + /* Notifications */ "feedback" = "Ответы";