mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
34 lines
1.1 KiB
Smarty
34 lines
1.1 KiB
Smarty
<div>
|
|
{if="$post->isMicroblog()"}
|
|
<span class="on_desktop icon"><i class="zmdi zmdi-account"></i></span>
|
|
<h2>{$c->__('page.blog')}</h2>
|
|
{else}
|
|
<span class="on_desktop icon"><i class="zmdi zmdi-pages"></i></span>
|
|
<h2>{$post->node}</h2>
|
|
{/if}
|
|
</div>
|
|
<div>
|
|
{if="$post->isMine()"}
|
|
<ul class="active">
|
|
<li onclick="Post_ajaxDelete('{$post->origin}', '{$post->node}', '{$post->nodeid}')">
|
|
<span class="icon">
|
|
<i class="zmdi zmdi-delete"></i>
|
|
</span>
|
|
</li>
|
|
</ul>
|
|
{/if}
|
|
<div class="return active {if="$post->isMine()"}r1{/if}" onclick="MovimTpl.hidePanel(); Post_ajaxClear();">
|
|
<span id="back" class="icon"><i class="zmdi zmdi-arrow-back"></i></span>
|
|
<h2>
|
|
{if="$post != null"}
|
|
{if="$post->title != null"}
|
|
{$post->title}
|
|
{else}
|
|
{$c->__('post.default_title')}
|
|
{/if}
|
|
{else}
|
|
Empty
|
|
{/if}
|
|
</h2>
|
|
</h2>
|
|
</div>
|