From ad61a8981262fd84ecbeb1d4db69b3e2d00a3177 Mon Sep 17 00:00:00 2001 From: mrilyew <99399973+mrilyew@users.noreply.github.com> Date: Tue, 5 Nov 2024 19:09:06 +0300 Subject: [PATCH] return notes picker --- .../templates/components/attachment.xml | 15 +-- .../templates/components/textArea.xml | 4 + Web/static/css/main.css | 22 ++- Web/static/js/al_music.js | 2 +- Web/static/js/al_wall.js | 125 +++++++++++++++++- Web/static/js/utils.js | 5 + 6 files changed, 156 insertions(+), 17 deletions(-) diff --git a/Web/Presenters/templates/components/attachment.xml b/Web/Presenters/templates/components/attachment.xml index f1bd0a88..d084ae63 100644 --- a/Web/Presenters/templates/components/attachment.xml +++ b/Web/Presenters/templates/components/attachment.xml @@ -30,19 +30,14 @@ {elseif $attachment instanceof \openvk\Web\Models\Entities\Poll} {presenter "openvk!Poll->view", $attachment->getId()} {elseif $attachment instanceof \openvk\Web\Models\Entities\Note} - {if !$attachment->isDeleted()} -