From e4452aca7e5115b5a7d2e678d0c6f411c36249cc Mon Sep 17 00:00:00 2001 From: Maxim Leshchenko Date: Fri, 17 Dec 2021 21:35:41 +0200 Subject: [PATCH] Fixup "Microblog: Fix reply button in inline comments below post" All the same, I forgot to add these files to the commit :3 --- Web/Presenters/templates/Wall/Feed.xml | 4 ++++ Web/Presenters/templates/Wall/HashtagFeed.xml | 4 ++++ Web/Presenters/templates/Wall/Wall.xml | 4 ++++ Web/Presenters/templates/components/wall.xml | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/Web/Presenters/templates/Wall/Feed.xml b/Web/Presenters/templates/Wall/Feed.xml index 81b4bf21..ec82bbe3 100644 --- a/Web/Presenters/templates/Wall/Feed.xml +++ b/Web/Presenters/templates/Wall/Feed.xml @@ -47,3 +47,7 @@ {/block} + +{if isset($thisUser) && $thisUser->hasMicroblogEnabled()} + {script "js/al_comments.js"} +{/if} diff --git a/Web/Presenters/templates/Wall/HashtagFeed.xml b/Web/Presenters/templates/Wall/HashtagFeed.xml index 12320c43..a58ca4e4 100644 --- a/Web/Presenters/templates/Wall/HashtagFeed.xml +++ b/Web/Presenters/templates/Wall/HashtagFeed.xml @@ -17,3 +17,7 @@ {include "../components/paginator.xml", conf => $paginatorConf} {/block} + +{if isset($thisUser) && $thisUser->hasMicroblogEnabled()} + {script "js/al_comments.js"} +{/if} diff --git a/Web/Presenters/templates/Wall/Wall.xml b/Web/Presenters/templates/Wall/Wall.xml index 7e1969e8..9b6fe6b4 100644 --- a/Web/Presenters/templates/Wall/Wall.xml +++ b/Web/Presenters/templates/Wall/Wall.xml @@ -34,3 +34,7 @@ {/block} + +{if isset($thisUser) && $thisUser->hasMicroblogEnabled()} + {script "js/al_comments.js"} +{/if} diff --git a/Web/Presenters/templates/components/wall.xml b/Web/Presenters/templates/components/wall.xml index f353f573..f8be0067 100644 --- a/Web/Presenters/templates/components/wall.xml +++ b/Web/Presenters/templates/components/wall.xml @@ -25,3 +25,7 @@ + +{if isset($thisUser) && $thisUser->hasMicroblogEnabled()} + {script "js/al_comments.js"} +{/if}