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>
|
<a class="profile_link" style="display:block;width:96%;" href="/report.pl/{$post->getId()}?type=post">{_report}</a>
|
||||||
</div>
|
</div>
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
{block bodyScripts}
|
|
||||||
{script "js/al_comments.js"}
|
|
||||||
{/block}
|
|
||||||
|
|
|
@ -24,3 +24,5 @@
|
||||||
{/if} -->
|
{/if} -->
|
||||||
{_"comments_tip"}
|
{_"comments_tip"}
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
{script "js/al_comments.js"}
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
Вложение: <span>(unknown)</span>
|
Вложение: <span>(unknown)</span>
|
||||||
</div>
|
</div>
|
||||||
<div n:if="$postOpts ?? true" class="post-opts">
|
<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)}
|
{if $club->canBeModifiedBy($thisUser)}
|
||||||
<script>
|
<script>
|
||||||
function onWallAsGroupClick(el) {
|
function onWallAsGroupClick(el) {
|
||||||
|
|
Loading…
Reference in a new issue