diff --git a/Web/Presenters/templates/components/post/microblogpost.xml b/Web/Presenters/templates/components/post/microblogpost.xml
index 6f29a281..52e0b7ca 100644
--- a/Web/Presenters/templates/components/post/microblogpost.xml
+++ b/Web/Presenters/templates/components/post/microblogpost.xml
@@ -33,9 +33,9 @@
{if $post->canBePinnedBy($thisUser) && !($forceNoPinLink ?? false) && !isset($compact)}
{if $post->isPinned()}
-
+
{else}
-
+
{/if}
{/if}
diff --git a/Web/static/css/microblog.css b/Web/static/css/microblog.css
index e691c043..42670864 100644
--- a/Web/static/css/microblog.css
+++ b/Web/static/css/microblog.css
@@ -62,3 +62,18 @@
.post-author .delete:hover {
opacity: 0.4;
}
+
+.post-author .pin {
+ float: right;
+ display: inline-block;
+ height: 16px;
+ width: 16px;
+ overflow: auto;
+ background: url("/assets/packages/static/openvk/img/pin.png") no-repeat 0px 0px;
+ opacity: 0.1;
+ transition-duration: 0.3s;
+}
+
+.post-author .pin:hover {
+ opacity: 0.4;
+}
diff --git a/Web/static/img/pin.png b/Web/static/img/pin.png
new file mode 100644
index 00000000..055e4db7
Binary files /dev/null and b/Web/static/img/pin.png differ