From 1174ddfa4f7112519c27ba73b86175b6b738babd Mon Sep 17 00:00:00 2001 From: n1rwana Date: Tue, 15 Aug 2023 02:12:48 +0300 Subject: [PATCH] =?UTF-8?q?[Reports]=20=D0=92=D0=BE=D0=B7=D0=BC=D0=BE?= =?UTF-8?q?=D0=B6=D0=BD=D0=BE=D1=81=D1=82=D1=8C=20=D0=BF=D0=B5=D1=80=D0=B5?= =?UTF-8?q?=D0=B9=D1=82=D0=B8=20=D0=BA=20=D0=BF=D0=BE=D1=81=D1=82=D1=83=20?= =?UTF-8?q?=D0=B8=D0=B7=20=D0=BA=D0=BE=D0=BC=D0=BC=D0=B5=D0=BD=D1=82=D0=B0?= =?UTF-8?q?=D1=80=D0=B8=D1=8F=20(#965)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ПОРНО --- Web/Presenters/templates/Report/ViewContent.xml | 2 +- Web/Presenters/templates/components/comment.xml | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Web/Presenters/templates/Report/ViewContent.xml b/Web/Presenters/templates/Report/ViewContent.xml index 3928495f..249e6b38 100644 --- a/Web/Presenters/templates/Report/ViewContent.xml +++ b/Web/Presenters/templates/Report/ViewContent.xml @@ -16,7 +16,7 @@ {elseif $type == "group" || $type == "user"} {include "../components/group.xml", group => $object, isUser => $type == "user"} {elseif $type == "comment"} - {include "../components/comment.xml", comment => $object, timeOnly => true} + {include "../components/comment.xml", comment => $object, timeOnly => true, linkWithPost => true} {elseif $type == "note"} {include "./content/note.xml", note => $object} {elseif $type == "app"} diff --git a/Web/Presenters/templates/components/comment.xml b/Web/Presenters/templates/components/comment.xml index 5067c6c8..714893d1 100644 --- a/Web/Presenters/templates/components/comment.xml +++ b/Web/Presenters/templates/components/comment.xml @@ -29,7 +29,12 @@
- {$comment->getPublicationTime()} + + {$comment->getPublicationTime()} + {if !$timeOnly}  | {if $comment->canBeDeletedBy($thisUser)}