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}