mirror of
https://github.com/openvk/openvk
synced 2025-04-19 14:43:01 +03:00
do not show content if deleted (fave)
This commit is contained in:
parent
41aef80e85
commit
6ca46028e9
3 changed files with 27 additions and 18 deletions
|
@ -36,6 +36,11 @@
|
||||||
</style>
|
</style>
|
||||||
{if $count > 0}
|
{if $count > 0}
|
||||||
{foreach $data as $dat}
|
{foreach $data as $dat}
|
||||||
|
{if $dat->isDeleted()}
|
||||||
|
<div n:class="deleted_mark, $section == 'photos' ? album-photo : deleted_mark_average">
|
||||||
|
<span>[deleted]</span>
|
||||||
|
</div>
|
||||||
|
{else}
|
||||||
{if $section == "posts"}
|
{if $section == "posts"}
|
||||||
<div class="scroll_node">
|
<div class="scroll_node">
|
||||||
{include "../components/post.xml", post => $dat, commentSection => true}
|
{include "../components/post.xml", post => $dat, commentSection => true}
|
||||||
|
@ -55,6 +60,7 @@
|
||||||
{include "../components/video.xml", video => $dat}
|
{include "../components/video.xml", video => $dat}
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
{/if}
|
||||||
{/foreach}
|
{/foreach}
|
||||||
{else}
|
{else}
|
||||||
{include "../components/content_error.xml", description => tr("faves_".$section."_empty_tip")}
|
{include "../components/content_error.xml", description => tr("faves_".$section."_empty_tip")}
|
||||||
|
|
|
@ -52,7 +52,6 @@
|
||||||
height: 46px;
|
height: 46px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* кто прочитал тому не завидую */
|
|
||||||
.bigPlayer .bigPlayerWrapper .absoluteButtons {
|
.bigPlayer .bigPlayerWrapper .absoluteButtons {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
|
|
@ -4282,3 +4282,7 @@ hr {
|
||||||
height: 30px;
|
height: 30px;
|
||||||
background-position-y: 9px;
|
background-position-y: 9px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.deleted_mark_average {
|
||||||
|
padding: 5px 61px;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue