mirror of
https://github.com/thelounge/thelounge
synced 2024-11-27 06:20:26 +00:00
18 lines
465 B
Smarty
18 lines
465 B
Smarty
|
<p>
|
||
|
{{#if current}}
|
||
|
<strong>{{agent}}</strong>
|
||
|
<a href="https://ipinfo.io/{{ip}}" target="_blank" rel="noopener">{{ip}}</a>
|
||
|
{{else}}
|
||
|
<button class="btn pull-right remove-session" data-token="{{token}}">Disconnect</button>
|
||
|
|
||
|
<strong>{{agent}}</strong>
|
||
|
<a href="https://ipinfo.io/{{ip}}" target="_blank" rel="noopener">{{ip}}</a>
|
||
|
<br>
|
||
|
{{#if active}}
|
||
|
<em>Currently active</em>
|
||
|
{{else}}
|
||
|
Last used on <time>{{localetime lastUse}}</time>
|
||
|
{{/if}}
|
||
|
{{/if}}
|
||
|
</p>
|