mirror of https://github.com/movim/movim
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
2.1 KiB
50 lines
2.1 KiB
<hr />
|
|
{if="$reply != null"}
|
|
<ul class="list thick active recessed"
|
|
onclick="MovimUtils.reload('{$c->route('post', [$reply->server, $reply->node, $reply->nodeid])}')">
|
|
<li>
|
|
{if="$reply->picture"}
|
|
<span
|
|
class="primary icon bubble color white"
|
|
style="background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%), url({$reply->picture});">
|
|
<i class="material-icons">share</i>
|
|
</span>
|
|
{elseif="$reply->isMicroblog() && $reply->contact"}
|
|
{$url = $reply->contact->getPhoto('l')}
|
|
{if="$url"}
|
|
<span class="primary icon bubble color white" style="background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%), url({$url});">
|
|
<i class="material-icons">share</i>
|
|
</span>
|
|
{else}
|
|
<span class="primary icon bubble color {$reply->contact->jid|stringToColor}">
|
|
<i class="material-icons">share</i>
|
|
</span>
|
|
{/if}
|
|
{/if}
|
|
<span class="control icon gray">
|
|
<i class="material-icons">chevron-right"></i>
|
|
</span>
|
|
<p class="normal line">{$reply->title}</p>
|
|
<p>{$reply->getContent()|html_entity_decode|stripTags}</p>
|
|
<p>
|
|
{if="$reply->isMicroblog() && $reply->contact"}
|
|
<i class="material-icons">people</i> {$reply->contact->truename}
|
|
{else}
|
|
<i class="material-icons">group_work</i> {$reply->node}
|
|
{/if}
|
|
<span class="info">
|
|
{$reply->published|strtotime|prepareDate:true,true}
|
|
</span>
|
|
</p>
|
|
</li>
|
|
</ul>
|
|
{else}
|
|
<ul class="list thick active faded">
|
|
<li>
|
|
<span class="primary icon gray">
|
|
<i class="material-icons">reply</i>
|
|
</span>
|
|
<p class="line normal">{$c->__('post.original_deleted')}</p>
|
|
</li>
|
|
</ul>
|
|
{/if}
|