thelounge/client/views/actions/whois.tpl

96 lines
1.8 KiB
Smarty
Raw Normal View History

2016-03-07 15:10:46 +00:00
<div>
{{> ../user_name nick=whois.nick}}
2017-11-02 11:01:45 +00:00
<i class="hostmask">({{whois.user}}@{{whois.host}})</i>
2016-03-07 15:10:46 +00:00
</div>
2017-11-02 11:01:45 +00:00
{{#if whois.actuallhost}}
<div>
Actual host
{{> ../user_name nick=whois.nick}}
<i class="hostmask">({{whois.user}}@{{whois.actuallhost}})</i>
</div>
{{/if}}
{{#if whois.real_name}}
<div>
{{> ../user_name nick=whois.nick}}'s real name is:
<b>{{{parse whois.real_name}}}</b>
2017-11-02 11:01:45 +00:00
</div>
{{/if}}
2016-03-09 08:27:01 +00:00
{{#if whois.account}}
<div>
{{> ../user_name nick=whois.nick}}
2016-03-09 08:27:01 +00:00
is logged in as <b>{{whois.account}}</b>
</div>
{{/if}}
2017-11-02 11:01:45 +00:00
{{#if whois.registered_nick}}
<div>
{{> ../user_name nick=whois.nick}}
{{whois.registered_nick}}
</div>
{{/if}}
{{#if whois.modes}}
<div>
{{> ../user_name nick=whois.nick}}
{{whois.modes}}
</div>
{{/if}}
{{#if whois.special}}
<div>
{{> ../user_name nick=whois.nick}}
{{whois.special}}
</div>
{{/if}}
{{#if whois.operator}}
<div>
{{> ../user_name nick=whois.nick}}
{{whois.operator}}
</div>
{{/if}}
{{#if whois.helpop}}
<div>
{{> ../user_name nick=whois.nick}}
is available for help
</div>
{{/if}}
{{#if whois.bot}}
<div>
{{> ../user_name nick=whois.nick}}
is a bot
</div>
{{/if}}
2016-03-07 15:10:46 +00:00
{{#if whois.channels}}
<div>
{{> ../user_name nick=whois.nick}}
2016-03-09 08:27:01 +00:00
is on the following channels: {{{parse whois.channels}}}
2016-03-07 15:10:46 +00:00
</div>
{{/if}}
{{#if whois.server}}
<div>
{{> ../user_name nick=whois.nick}}
2016-03-09 08:27:01 +00:00
is connected to {{whois.server}} <i>({{whois.server_info}})</i>
</div>
{{/if}}
{{#if whois.secure}}
<div>
{{> ../user_name nick=whois.nick}}
2016-03-09 08:27:01 +00:00
is using a secure connection
2016-03-07 15:10:46 +00:00
</div>
{{/if}}
{{#if whois.away}}
<div>
{{> ../user_name nick=whois.nick}}
2016-03-07 15:10:46 +00:00
is away <i>({{whois.away}})</i>
</div>
{{/if}}
2017-11-02 11:01:45 +00:00
{{#if whois.logonTime}}
<div>
{{> ../user_name nick=whois.nick}}
connected at {{localetime whois.logonTime}}
</div>
{{/if}}
{{#if whois.idle}}
<div>
{{> ../user_name nick=whois.nick}}
2017-11-02 11:01:45 +00:00
has been idle since {{localetime whois.idleTime}}
</div>
{{/if}}