3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-24 04:49:25 +01:00
dbot/views/users/users.jade
2013-01-09 06:05:01 +00:00

18 lines
586 B
Plaintext

extends ../layout
block content
h3 Users of #{channel} on #{connection}
div#backlink
a(href='/channels/'+connection) « Channel List
ul#quotelist
-each nick in nicks
if nicks.hasOwnProperty(nick.name)
a(href='/user/'+connection+'/'+channel.substr(1,channel.length)+'/'+nick.name)
if nick.online
if nick.active
li.quotes #{nick.name} (Online, Active)
else
li.quotes #{nick.name} (Online, Inactive)
else
li.quotes #{nick.name} (Offline)