1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00
movim_ynh/sources/app/widgets/Contact/_contact_header.tpl
2015-08-19 11:28:28 +02:00

50 lines
1.9 KiB
Smarty

<div>
<span class="icon"><i class="zmdi zmdi-accounts"></i></span>
<h2>{$c->__('page.contacts')}</h2>
</div>
<div>
{if="$contactr != null"}
<ul class="active">
<li onclick="{$edit}">
<span class="icon">
<i class="zmdi zmdi-edit"></i>
</span>
</li>
<li onclick="{$delete}">
<span class="icon">
<i class="zmdi zmdi-delete"></i>
</span>
</li>
</ul>
<div class="return active r2" onclick="MovimTpl.hidePanel(); Contact_ajaxClear({$page});">
<span id="back" class="icon" ><i class="zmdi zmdi-arrow-back"></i></span>
<h2>{$contactr->getTrueName()}</h2>
</div>
{else}
{if="$contact != null"}
<ul class="active">
<li onclick="Roster_ajaxDisplaySearch('{$jid}')">
<span class="icon">
<i class="zmdi zmdi-account-add"></i>
</span>
</li>
</ul>
<div class="return active r2" onclick="MovimTpl.hidePanel(); Contact_ajaxClear({$page});">
<span id="back" class="icon" ><i class="zmdi zmdi-arrow-back"></i></span>
<h2>{$contact->getTrueName()}</h2>
</div>
{else}
<ul class="active">
<li onclick="Roster_ajaxDisplaySearch('{$jid}')">
<span class="icon">
<i class="zmdi zmdi-account-add"></i>
</span>
</li>
</ul>
<div class="return active r2" onclick="MovimTpl.hidePanel(); Contact_ajaxClear({$page});">
<span id="back" class="icon" ><i class="zmdi zmdi-arrow-back"></i></span>
<h2>{$jid}</h2>
</div>
{/if}
{/if}
</div>