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