mirror of
https://github.com/openvk/openvk
synced 2025-07-04 14:59:54 +03:00
feat(FeedIgnore): design rework
This commit is contained in:
parent
a2af0f849f
commit
67d8f4e351
4 changed files with 22 additions and 4 deletions
|
@ -57,8 +57,8 @@
|
|||
|
||||
<span n:if="$post->isPinned()" class="nobold">{_pinned}</span>
|
||||
|
||||
<a n:if="$canBeDeleted && !($forceNoDeleteLink ?? false) && $compact == false" class="delete" href="/wall{$post->getPrettyId()}/delete"></a>
|
||||
<a n:if="!$canBeDeleted" class="ignore" id="__ignoreSomeone" title="{_ignore_user}" data-val='1' data-id="{$wallOwner->getId()}"></a>
|
||||
<a n:if="$canBeDeleted && !($forceNoDeleteLink ?? false) && $compact == false" class="delete" href="/wall{$post->getPrettyId()}/delete"></a>
|
||||
<a n:if="$feedIgnoreButton && !$canBeDeleted" class="ignore" id="__ignoreSomeoneFeed" title="{_feed_ignore}" data-val='1' data-id="{$wallOwner->getRealId()}"></a>
|
||||
|
||||
{if $canBePinned && !($forceNoPinLink ?? false) && $compact == false}
|
||||
{if $post->isPinned()}
|
||||
|
|
|
@ -135,8 +135,8 @@
|
|||
<a href="/wall{$post->getPrettyId()}/delete">{_delete}</a> |
|
||||
{/if}
|
||||
|
||||
{if !$canBeDeleted}
|
||||
<a class="delete" id="__ignoreSomeone" data-val='1' data-id="{$wallOwner->getId()}">{_ignore_user}</a> |
|
||||
{if $feedIgnoreButton && !$canBeDeleted}
|
||||
<a id="__ignoreSomeoneFeed" data-val='1' data-id="{$wallOwner->getRealId()}">{_feed_ignore}</a> |
|
||||
{/if}
|
||||
|
||||
{if !($forceNoPinLink ?? false) && $canBePinned}
|
||||
|
|
|
@ -914,6 +914,15 @@ h4 {
|
|||
}
|
||||
}
|
||||
|
||||
.post-hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.ignore-message {
|
||||
padding: 5px 0;
|
||||
}
|
||||
|
||||
|
||||
.small-textarea {
|
||||
height: 24px;
|
||||
}
|
||||
|
|
|
@ -100,6 +100,15 @@
|
|||
opacity: 0.4;
|
||||
}
|
||||
|
||||
.post-hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.ignore-message {
|
||||
padding: 5px 0;
|
||||
border-bottom: 1px #ddd solid;
|
||||
}
|
||||
|
||||
.post-author .delete {
|
||||
float: right;
|
||||
height: 16px;
|
||||
|
|
Loading…
Reference in a new issue