From a0c2853d6d338989106cf819bbc9e7b0170401d8 Mon Sep 17 00:00:00 2001 From: xRy0 Date: Sun, 25 May 2025 02:12:39 +0300 Subject: [PATCH] feat(ModalPosts): design modifications --- .../components/post/embeddedpost.xml | 35 ++----------------- .../templates/components/post/oldpost.xml | 2 +- Web/static/css/main.css | 2 ++ 3 files changed, 5 insertions(+), 34 deletions(-) diff --git a/Web/Presenters/templates/components/post/embeddedpost.xml b/Web/Presenters/templates/components/post/embeddedpost.xml index a48c90d6..5017d6b8 100644 --- a/Web/Presenters/templates/components/post/embeddedpost.xml +++ b/Web/Presenters/templates/components/post/embeddedpost.xml @@ -46,7 +46,6 @@
- {_online}
-
+
{$post->getText()|noescape} @@ -166,17 +150,6 @@
{/if}
-
- {_view_other_comments} - {foreach $comments as $comment} - {include "../comment.xml", comment => $comment, $compact => true} - {/foreach} -
- {var $commentsURL = "/al_comments/create/posts/" . $post->getId()} - {var $club = is_null($club) ? ($post->getTargetWall() < 0 ? (new openvk\Web\Models\Repositories\Clubs)->get(abs($post->getTargetWall())) : NULL) : $club} - {include "../textArea.xml", route => $commentsURL, postOpts => false, graffiti => (bool) ovkGetQuirk("comments.allow-graffiti"), post => $post, club => $club} -
-
{include "../comments.xml", comments => $comments, @@ -185,10 +158,6 @@ model => "posts", parent => $post }
-
- - -
diff --git a/Web/Presenters/templates/components/post/oldpost.xml b/Web/Presenters/templates/components/post/oldpost.xml index 3612aa1d..add951b4 100644 --- a/Web/Presenters/templates/components/post/oldpost.xml +++ b/Web/Presenters/templates/components/post/oldpost.xml @@ -59,7 +59,7 @@ {/if}
- + {$post->getPublicationTime()} ({_edited_short}){if $post->isPinned()}, {_pinned}{/if} diff --git a/Web/static/css/main.css b/Web/static/css/main.css index 72600cfb..fd7d55ee 100644 --- a/Web/static/css/main.css +++ b/Web/static/css/main.css @@ -4323,4 +4323,6 @@ hr { .post-modal-author { margin: 5px; + margin-top: 0px; + width: 100%; } \ No newline at end of file