dbot/views/profile/profile_grid.jade
2013-01-24 19:39:28 +00:00

15 lines
463 B
Plaintext

extends ../layout
block content
div.page-header.profile_page-header
h1
#{connection}
ul.thumbnails
each profile, key in profiles
if profile.hasOwnProperty('profile') && profile.profile.avatar
li.span2
a.thumbnail(href='/profile/'+connection+'/'+encodeURIComponent(key))
div.imgwrap
img(src="#{profile.profile.avatar}", alt="#{key}'s photo")
span.nicks #{profile.profile.primary}