mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
Wall: Move comments script from Post view to general comments template
This commit is contained in:
parent
cdbe0f906b
commit
a53826f46d
3 changed files with 3 additions and 5 deletions
|
@ -34,7 +34,3 @@
|
|||
<a class="profile_link" style="display:block;width:96%;" href="/report.pl/{$post->getId()}?type=post">{_report}</a>
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{block bodyScripts}
|
||||
{script "js/al_comments.js"}
|
||||
{/block}
|
||||
|
|
|
@ -24,3 +24,5 @@
|
|||
{/if} -->
|
||||
{_"comments_tip"}
|
||||
{/if}
|
||||
|
||||
{script "js/al_comments.js"}
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
Вложение: <span>(unknown)</span>
|
||||
</div>
|
||||
<div n:if="$postOpts ?? true" class="post-opts">
|
||||
{if !is_null($thisUser) && !is_null($club) && $owner < 0}
|
||||
{if !is_null($thisUser) && !is_null($club ?? NULL) && $owner < 0}
|
||||
{if $club->canBeModifiedBy($thisUser)}
|
||||
<script>
|
||||
function onWallAsGroupClick(el) {
|
||||
|
|
Loading…
Reference in a new issue