mirror of
https://github.com/thelounge/thelounge
synced 2024-12-22 02:13:07 +00:00
80 lines
1.6 KiB
Smarty
80 lines
1.6 KiB
Smarty
<p>{{> ../user_name nick=whois.nick}}</p>
|
|
<dl class="whois">
|
|
{{#if whois.account}}
|
|
<dt>Logged in as:</dt>
|
|
<dd>{{whois.account}}</dd>
|
|
{{/if}}
|
|
|
|
<dt>Host mask:</dt>
|
|
<dd class="hostmask">{{whois.user}}@{{whois.host}}</dd>
|
|
|
|
{{#if whois.actualhost}}
|
|
<dt>Actual host:</dt>
|
|
<dd class="hostmask"><a href="https://ipinfo.io/{{whois.actualip}}" target="_blank" rel="noopener">{{whois.actualip}}</a>{{#notEqual whois.actualhost whois.actualip}} ({{whois.actualhost}}){{/notEqual}}</dd>
|
|
{{/if}}
|
|
|
|
{{#if whois.real_name}}
|
|
<dt>Real name:</dt>
|
|
<dd>{{{parse whois.real_name}}}</dd>
|
|
{{/if}}
|
|
|
|
{{#if whois.registered_nick}}
|
|
<dt>Registered nick:</dt>
|
|
<dd>{{whois.registered_nick}}</dd>
|
|
{{/if}}
|
|
|
|
{{#if whois.channels}}
|
|
<dt>Channels:</dt>
|
|
<dd>{{{parse whois.channels}}}</dd>
|
|
{{/if}}
|
|
|
|
{{#if whois.modes}}
|
|
<dt>Modes:</dt>
|
|
<dd>{{whois.modes}}</dd>
|
|
{{/if}}
|
|
|
|
{{#if whois.special}}
|
|
<dt>Special:</dt>
|
|
<dd>{{whois.special}}</dd>
|
|
{{/if}}
|
|
|
|
{{#if whois.operator}}
|
|
<dt>Operator:</dt>
|
|
<dd>{{whois.operator}}</dd>
|
|
{{/if}}
|
|
|
|
{{#if whois.helpop}}
|
|
<dt>Available for help:</dt>
|
|
<dd>Yes</dd>
|
|
{{/if}}
|
|
|
|
{{#if whois.bot}}
|
|
<dt>Is a bot:</dt>
|
|
<dd>Yes</dd>
|
|
{{/if}}
|
|
|
|
{{#if whois.away}}
|
|
<dt>Away:</dt>
|
|
<dd>{{{parse whois.away}}}</dd>
|
|
{{/if}}
|
|
|
|
{{#if whois.secure}}
|
|
<dt>Secure connection:</dt>
|
|
<dd>Yes</dd>
|
|
{{/if}}
|
|
|
|
{{#if whois.server}}
|
|
<dt>Connected to:</dt>
|
|
<dd>{{whois.server}} <i>({{whois.server_info}})</i></dd>
|
|
{{/if}}
|
|
|
|
{{#if whois.logonTime}}
|
|
<dt>Connected at:</dt>
|
|
<dd>{{localetime whois.logonTime}}</dd>
|
|
{{/if}}
|
|
|
|
{{#if whois.idle}}
|
|
<dt>Idle since:</dt>
|
|
<dd>{{localetime whois.idleTime}}</dd>
|
|
{{/if}}
|
|
</dl>
|