removed anchor around recent posts on account page

v1.18.x
Baris Usakli 12 years ago
parent 78358a8ccd
commit c1b170ec86

@ -225,6 +225,10 @@ footer.footer {
div { div {
color: #333; color: #333;
margin-bottom: 10px; margin-bottom: 10px;
cursor: pointer;
p {
color: #333;
}
} }
span { span {
padding-top: 10px; padding-top: 10px;

@ -32,6 +32,10 @@
return false; 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"> <div class="span6 user-recent-posts">
<h4>recent posts </h4> <h4>recent posts </h4>
<!-- BEGIN posts --> <!-- BEGIN posts -->
<a href="/topic/{posts.tid}/{posts.pid}"> <div class="topic-row img-polaroid clearfix" topic-url="topic/{posts.tid}/{posts.pid}">
<div class="topic-row img-polaroid clearfix">
<span>{posts.content}</span> <span>{posts.content}</span>
<span class="pull-right">{posts.relativeTime} ago</span> <span class="pull-right">{posts.relativeTime} ago</span>
</div> </div>
</a>
<!-- END posts --> <!-- END posts -->
</div> </div>
</div> </div>

Loading…
Cancel
Save