diff --git a/Web/Presenters/templates/components/post/microblogpost.xml b/Web/Presenters/templates/components/post/microblogpost.xml index 90c72677..2f2fc2f1 100644 --- a/Web/Presenters/templates/components/post/microblogpost.xml +++ b/Web/Presenters/templates/components/post/microblogpost.xml @@ -8,6 +8,8 @@ {else} {var $deac = "post_deact_silent"} {/if} +{var $compact = isset($compact) ? true : false} +{var $club = isset($club) ? $club} {var $commentTextAreaId = $post === NULL ? rand(1,300) : $post->getId()} @@ -16,7 +18,7 @@ - + {_online} @@ -40,18 +42,18 @@ {/if} - {ifset $compact} + {if $compact}
{$post->getPublicationTime()} - {/ifset} + {/if} {_pinned} - + - {if $post->canBePinnedBy($thisUser) && !($forceNoPinLink ?? false) && !isset($compact)} + {if $post->canBePinnedBy($thisUser) && !($forceNoPinLink ?? false) && $compact == false} {if $post->isPinned()} {else} @@ -83,7 +85,7 @@ -
+
{$post->getPublicationTime()}