{if="$contacts->isNotEmpty()"}
  • {$c->__('page.contacts')}

  • {loop="$contacts"}
  • truename"}{$value->truename|cleanupId}{/if}-{if="$value->group"}{$value->group|cleanupId}{/if}{if="$value->presence"}-{$value->presence->presencetext|cleanupId}{/if}" class="{if="$value->presence && $value->presence->value > 4"}faded{/if}" > locationDistance"} location{/if} {if="!$value->presence || $value->presence->value > 4"} faded {else} status {$value->presence->presencekey} {/if}" onclick="MovimUtils.reload('{$c->route('contact', $value->jid)}'); Drawer.clear();"> {if="$value->presences->count() > 0"} {loop="$value->presences"} {if="$value->capability && $value->capability->isJingleAudio()"} phone {/if} {if="$value->capability && $value->capability->isJingleVideo()"} videocam {break} {/if} {/loop} {/if} comment

    {$value->truename} {if="$value->group"} {$value->group} {/if} {if="$value->presence && $value->presence->capability"} {$value->presence->capability->getDeviceIcon()} {/if} {if="!in_array($value->subscription, ['', 'both'])"} {if="$value->subscription == 'to'"} arrow_upward {elseif="$value->subscription == 'from'"} arrow_downward {else} block {/if} {/if}

    {if="$value->presence && $value->presence->seen"}

    {$c->__('last.title')} {$value->presence->seen|prepareDate:true,true}

    {elseif="$value->presence"}

    {$value->presence->presencetext}

    {/if}
  • {/loop} {if="$contacts->count() > 7"}
  • expand_more

    {$c->__('search.show_complete_roster')} {$contacts->count()} people

  • {/if} {else} {/if}