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>
|
||||
{if $count > 0}
|
||||
{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"}
|
||||
<div class="scroll_node">
|
||||
{include "../components/post.xml", post => $dat, commentSection => true}
|
||||
|
@ -55,6 +60,7 @@
|
|||
{include "../components/video.xml", video => $dat}
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
{/foreach}
|
||||
{else}
|
||||
{include "../components/content_error.xml", description => tr("faves_".$section."_empty_tip")}
|
||||
|
|
|
@ -52,7 +52,6 @@
|
|||
height: 46px;
|
||||
}
|
||||
|
||||
/* кто прочитал тому не завидую */
|
||||
.bigPlayer .bigPlayerWrapper .absoluteButtons {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
|
|
|
@ -4282,3 +4282,7 @@ hr {
|
|||
height: 30px;
|
||||
background-position-y: 9px;
|
||||
}
|
||||
|
||||
.deleted_mark_average {
|
||||
padding: 5px 61px;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue