diff --git a/Web/Presenters/templates/Wall/Feed.xml b/Web/Presenters/templates/Wall/Feed.xml index ec82bbe3..517cc0a0 100644 --- a/Web/Presenters/templates/Wall/Feed.xml +++ b/Web/Presenters/templates/Wall/Feed.xml @@ -46,8 +46,8 @@ }); -{/block} -{if isset($thisUser) && $thisUser->hasMicroblogEnabled()} - {script "js/al_comments.js"} -{/if} + {if isset($thisUser) && $thisUser->hasMicroblogEnabled()} + {script "js/al_comments.js"} + {/if} +{/block} diff --git a/Web/Presenters/templates/Wall/HashtagFeed.xml b/Web/Presenters/templates/Wall/HashtagFeed.xml index a58ca4e4..96da865a 100644 --- a/Web/Presenters/templates/Wall/HashtagFeed.xml +++ b/Web/Presenters/templates/Wall/HashtagFeed.xml @@ -16,8 +16,8 @@ {/foreach} {include "../components/paginator.xml", conf => $paginatorConf} -{/block} -{if isset($thisUser) && $thisUser->hasMicroblogEnabled()} - {script "js/al_comments.js"} -{/if} + {if isset($thisUser) && $thisUser->hasMicroblogEnabled()} + {script "js/al_comments.js"} + {/if} +{/block} diff --git a/Web/Presenters/templates/Wall/Wall.xml b/Web/Presenters/templates/Wall/Wall.xml index 9b6fe6b4..2bcc40ac 100644 --- a/Web/Presenters/templates/Wall/Wall.xml +++ b/Web/Presenters/templates/Wall/Wall.xml @@ -13,28 +13,28 @@ {/block} {block content} -
-
-
- {include "../components/textArea.xml", route => "/wall$owner/makePost"} -
- -
- {if sizeof($posts) > 0} - {foreach $posts as $post} - - - {include "../components/post.xml", post => $post, commentSection => true} - {/foreach} - {include "../components/paginator.xml", conf => $paginatorConf} - {else} - {_no_posts_abstract} - {/if} +
+
+
+ {include "../components/textArea.xml", route => "/wall$owner/makePost"} +
+ +
+ {if sizeof($posts) > 0} + {foreach $posts as $post} + + + {include "../components/post.xml", post => $post, commentSection => true} + {/foreach} + {include "../components/paginator.xml", conf => $paginatorConf} + {else} + {_no_posts_abstract} + {/if} +
-
-{/block} -{if isset($thisUser) && $thisUser->hasMicroblogEnabled()} - {script "js/al_comments.js"} -{/if} + {if isset($thisUser) && $thisUser->hasMicroblogEnabled()} + {script "js/al_comments.js"} + {/if} +{/block}