@ -225,6 +225,10 @@ footer.footer {
div {
color: #333;
margin-bottom: 10px;
cursor: pointer;
p {
}
span {
padding-top: 10px;
@ -32,6 +32,10 @@
return false;
});
$('.user-recent-posts .topic-row').on('click', function() {
ajaxify.go($(this).attr('topic-url'));
})
}());
@ -81,13 +81,10 @@
<div class="span6 user-recent-posts">
<h4>recent posts </h4>
<!-- BEGIN posts -->
<a href="/topic/{posts.tid}/{posts.pid}">
<div class="topic-row img-polaroid clearfix">
<div class="topic-row img-polaroid clearfix" topic-url="topic/{posts.tid}/{posts.pid}">
<span>{posts.content}</span>
<span class="pull-right">{posts.relativeTime} ago</span>
</div>
</a>
<!-- END posts -->