Wall: Fix "Reply" button in the feeds

This commit is contained in:
Maxim Leshchenko 2021-12-24 16:58:04 +02:00
parent a95b7e571a
commit b9c9c45bbf
No known key found for this signature in database
GPG key ID: BB9C44A8733FBEEE
3 changed files with 30 additions and 30 deletions

View file

@ -46,8 +46,8 @@
}); });
</script> </script>
</center> </center>
{/block}
{if isset($thisUser) && $thisUser->hasMicroblogEnabled()} {if isset($thisUser) && $thisUser->hasMicroblogEnabled()}
{script "js/al_comments.js"} {script "js/al_comments.js"}
{/if} {/if}
{/block}

View file

@ -16,8 +16,8 @@
{/foreach} {/foreach}
{include "../components/paginator.xml", conf => $paginatorConf} {include "../components/paginator.xml", conf => $paginatorConf}
</center> </center>
{/block}
{if isset($thisUser) && $thisUser->hasMicroblogEnabled()} {if isset($thisUser) && $thisUser->hasMicroblogEnabled()}
{script "js/al_comments.js"} {script "js/al_comments.js"}
{/if} {/if}
{/block}

View file

@ -13,28 +13,28 @@
{/block} {/block}
{block content} {block content}
<div class="content_divider"> <div class="content_divider">
<div> <div>
<div n:if="$canPost" class="content_subtitle"> <div n:if="$canPost" class="content_subtitle">
{include "../components/textArea.xml", route => "/wall$owner/makePost"} {include "../components/textArea.xml", route => "/wall$owner/makePost"}
</div> </div>
<div class="content"> <div class="content">
{if sizeof($posts) > 0} {if sizeof($posts) > 0}
{foreach $posts as $post} {foreach $posts as $post}
<a name="postGarter={$post->getId()}"></a> <a name="postGarter={$post->getId()}"></a>
{include "../components/post.xml", post => $post, commentSection => true} {include "../components/post.xml", post => $post, commentSection => true}
{/foreach} {/foreach}
{include "../components/paginator.xml", conf => $paginatorConf} {include "../components/paginator.xml", conf => $paginatorConf}
{else} {else}
{_no_posts_abstract} {_no_posts_abstract}
{/if} {/if}
</div>
</div> </div>
</div> </div>
</div>
{/block}
{if isset($thisUser) && $thisUser->hasMicroblogEnabled()} {if isset($thisUser) && $thisUser->hasMicroblogEnabled()}
{script "js/al_comments.js"} {script "js/al_comments.js"}
{/if} {/if}
{/block}