diff --git a/Web/Presenters/WallPresenter.php b/Web/Presenters/WallPresenter.php
index f4a8e898..709a0091 100644
--- a/Web/Presenters/WallPresenter.php
+++ b/Web/Presenters/WallPresenter.php
@@ -113,6 +113,7 @@ final class WallPresenter extends OpenVKPresenter
"amount" => sizeof($this->template->posts),
"perPage" => OPENVK_DEFAULT_PER_PAGE,
];
+ $this->template->ignore_status = $owner->isIgnoredBy($this->user->identity);
$this->logPostsViewed($this->template->posts, $user);
diff --git a/Web/Presenters/templates/components/post/microblogpost.xml b/Web/Presenters/templates/components/post/microblogpost.xml
index b39b8239..5933f4bb 100644
--- a/Web/Presenters/templates/components/post/microblogpost.xml
+++ b/Web/Presenters/templates/components/post/microblogpost.xml
@@ -57,7 +57,8 @@
{_pinned}
-
+
+
{if $canBePinned && !($forceNoPinLink ?? false) && $compact == false}
{if $post->isPinned()}
diff --git a/Web/Presenters/templates/components/post/oldpost.xml b/Web/Presenters/templates/components/post/oldpost.xml
index 3612aa1d..a1d6a34e 100644
--- a/Web/Presenters/templates/components/post/oldpost.xml
+++ b/Web/Presenters/templates/components/post/oldpost.xml
@@ -133,6 +133,10 @@
{if !($forceNoDeleteLink ?? false) && $canBeDeleted}
{_delete} |
+ {/if}
+
+ {if !$canBeDeleted}
+ {if !$ignore_status}{_ignore_user}{else}{_unignore_user}{/if} |
{/if}
{if !($forceNoPinLink ?? false) && $canBePinned}
diff --git a/Web/static/css/microblog.css b/Web/static/css/microblog.css
index 503af42a..89cf5dda 100644
--- a/Web/static/css/microblog.css
+++ b/Web/static/css/microblog.css
@@ -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;