hardlounge/client/views/actions/whois.tpl

36 lines
1.2 KiB
Smarty
Raw Normal View History

2016-03-07 10:10:46 -05:00
<div>
2016-05-10 19:17:52 -04:00
<a href="#" class="user" data-name="{{whois.nick}}" style="color:#{{stringcolor whois.nick}}">{{whois.nick}}</a>
2016-03-09 03:27:01 -05:00
<i class="hostmask">({{whois.user}}@{{whois.host}})</i>:
2016-03-15 05:41:11 -04:00
<b>{{whois.real_name}}</b>
2016-03-07 10:10:46 -05:00
</div>
2016-03-09 03:27:01 -05:00
{{#if whois.account}}
<div>
2016-05-10 19:17:52 -04:00
<a href="#" class="user" data-name="{{whois.nick}}" style="color:#{{stringcolor whois.nick}}">{{whois.nick}}</a>
2016-03-09 03:27:01 -05:00
is logged in as <b>{{whois.account}}</b>
</div>
{{/if}}
2016-03-07 10:10:46 -05:00
{{#if whois.channels}}
<div>
2016-05-10 19:17:52 -04:00
<a href="#" class="user" data-name="{{whois.nick}}" style="color:#{{stringcolor whois.nick}}">{{whois.nick}}</a>
2016-03-09 03:27:01 -05:00
is on the following channels: {{{parse whois.channels}}}
2016-03-07 10:10:46 -05:00
</div>
{{/if}}
{{#if whois.server}}
<div>
2016-05-10 19:17:52 -04:00
<a href="#" class="user" data-name="{{whois.nick}}" style="color:#{{stringcolor whois.nick}}">{{whois.nick}}</a>
2016-03-09 03:27:01 -05:00
is connected to {{whois.server}} <i>({{whois.server_info}})</i>
</div>
{{/if}}
{{#if whois.secure}}
<div>
2016-05-10 19:17:52 -04:00
<a href="#" class="user" data-name="{{whois.nick}}" style="color:#{{stringcolor whois.nick}}">{{whois.nick}}</a>
2016-03-09 03:27:01 -05:00
is using a secure connection
2016-03-07 10:10:46 -05:00
</div>
{{/if}}
{{#if whois.away}}
<div>
2016-05-10 19:17:52 -04:00
<a href="#" class="user" data-name="{{whois.nick}}" style="color:#{{stringcolor whois.nick}}">{{whois.nick}}</a>
2016-03-07 10:10:46 -05:00
is away <i>({{whois.away}})</i>
</div>
{{/if}}