2013-01-24 01:02:50 +00:00
|
|
|
extends ../layout
|
|
|
|
|
|
|
|
block content
|
2013-01-24 21:49:16 +00:00
|
|
|
script(src='http://masonry.desandro.com/jquery.masonry.min.js')
|
2013-01-24 21:46:42 +00:00
|
|
|
script
|
2013-01-24 22:34:34 +00:00
|
|
|
$(function() {
|
|
|
|
var $container = $('.thumbnails');
|
|
|
|
$container.imagesLoaded(function(){
|
|
|
|
$container.masonry({
|
|
|
|
itemSelector : '.thumbnails > li',
|
|
|
|
});
|
2013-01-24 21:46:42 +00:00
|
|
|
});
|
|
|
|
});
|
2013-01-24 01:06:05 +00:00
|
|
|
div.page-header.profile_page-header
|
|
|
|
h1
|
|
|
|
#{connection}
|
2013-01-24 22:30:52 +00:00
|
|
|
div#backlink
|
|
|
|
a(href='../connections') « Connections
|
|
|
|
|
2013-01-24 19:39:28 +00:00
|
|
|
ul.thumbnails
|
2013-01-25 00:30:09 +00:00
|
|
|
each nick in nicks
|
|
|
|
li.span2
|
|
|
|
a.thumbnail(href='/profile/'+connection+'/'+encodeURIComponent(nick))
|
|
|
|
div.imgwrap
|
|
|
|
img(src="#{profiles[nick].profile.avatar}", alt="#{profiles[nick].profile.primary}'s photo")
|
|
|
|
span.nicks #{profiles[nick].profile.primary}
|