Skip to content
Open
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Web/Presenters/templates/components/post/microblogpost.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +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 && !($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>

{if $canBePinned && !($forceNoPinLink ?? false) && $compact == false}
{if $post->isPinned()}
Expand Down
4 changes: 4 additions & 0 deletions Web/Presenters/templates/components/post/oldpost.xml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@

{if !($forceNoDeleteLink ?? false) && $canBeDeleted}
<a href="/wall{$post->getPrettyId()}/delete">{_delete}</a> &nbsp;|&nbsp;
{/if}

{if !$canBeDeleted}
<a class="delete" id="__ignoreSomeone" data-val='1' data-id="{$wallOwner->getId()}">{_ignore_user}</a> &nbsp;|&nbsp;
{/if}

{if !($forceNoPinLink ?? false) && $canBePinned}
Expand Down
15 changes: 15 additions & 0 deletions Web/static/css/microblog.css
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,21 @@
background-color: rgb(240, 240, 240);
}

.ignore {
float: right;
height: 16px;
width: 16px;
overflow: auto;
background: url("/assets/packages/static/openvk/img/audios_controls.png") no-repeat 0 0;
background-position: -51px -67px;
opacity: 0.1;
transition-duration: 0.3s;
}

.ignore:hover {
opacity: 0.4;
}

.post-author .delete {
float: right;
height: 16px;
Expand Down