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.
48 lines
2.1 KiB
48 lines
2.1 KiB
<form>
|
|
<div>
|
|
<ul class="list middle">
|
|
<li class="subheader">
|
|
<div>
|
|
<p>{$c->__('omemo.fingerprints')}</p>
|
|
</div>
|
|
</li>
|
|
{loop="$fingerprints"}
|
|
<li>
|
|
<span class="primary icon gray" id="sessionicon_{$value->jid}_{$value->bundleid}">
|
|
<i class="material-symbols">fingerprint</i>
|
|
</span>
|
|
<span class="control">
|
|
<div class="checkbox">
|
|
<input
|
|
type="checkbox"
|
|
data-identifier="{$value->jid}.{$value->bundleid}"
|
|
id="sessionstate_{$value->jid|cleanupId}_{$value->bundleid}"
|
|
name="sessionstate_{$value->jid|cleanupId}_{$value->bundleid}"
|
|
onchange="ContactActions.toggleFingerprintState(this)"/>
|
|
<label for="sessionstate_{$value->jid|cleanupId}_{$value->bundleid}"></label>
|
|
</div>
|
|
</span>
|
|
<div>
|
|
<p class="normal">
|
|
<span class="fingerprint" title="{$value->bundleid}">
|
|
{$value->fingerprint}
|
|
</span>
|
|
</p>
|
|
<p class="line">
|
|
{if="$value->capability"}
|
|
{$value->capability->name}
|
|
<i class="material-symbols">{$value->capability->getDeviceIcon()}</i>
|
|
{/if}
|
|
{if="$value->capability && isset($value->latest)"}
|
|
-
|
|
{/if}
|
|
{if="isset($value->latest)"}
|
|
{$c->__('omemo.last_activity')}: {$value->latest|prepareDate:true}
|
|
{/if}
|
|
</p>
|
|
</div>
|
|
</li>
|
|
{/loop}
|
|
</ul>
|
|
</div>
|
|
</form>
|