diff --git a/Web/Presenters/templates/components/post/microblogpost.xml b/Web/Presenters/templates/components/post/microblogpost.xml index 52e0b7ca..fa0284d8 100644 --- a/Web/Presenters/templates/components/post/microblogpost.xml +++ b/Web/Presenters/templates/components/post/microblogpost.xml @@ -7,6 +7,13 @@ + {if !$post->isPostedOnBehalfOfGroup() && !$compact} + + {if $diff->i <= 5} + {_online} + {/if} + + {/if}
diff --git a/Web/Presenters/templates/components/post/oldpost.xml b/Web/Presenters/templates/components/post/oldpost.xml index d111b2ae..4af95710 100644 --- a/Web/Presenters/templates/components/post/oldpost.xml +++ b/Web/Presenters/templates/components/post/oldpost.xml @@ -7,6 +7,13 @@ + {if !$post->isPostedOnBehalfOfGroup() && !$compact} + + {if $diff->i <= 5} + {_online} + {/if} + + {/if}
diff --git a/Web/static/css/style.css b/Web/static/css/style.css index b9e90c3e..c769cb28 100644 --- a/Web/static/css/style.css +++ b/Web/static/css/style.css @@ -481,6 +481,14 @@ h4 { display: block; } +.post-online { + color: #AAA; + text-align: center; + width: 50px; + padding-top: 5px; + display: block; +} + .post-author { background-color: #F6F6F6; border-top: #8B8B8B solid 1px;