régis' git-fu at his best...

This commit is contained in:
Régis Hanol 2013-10-23 11:35:27 +02:00
parent 3cc08c3b27
commit a98d4d9b35
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ Discourse.PostLinkView = Discourse.View.extend({
render: function(buffer) { render: function(buffer) {
var clicks; var clicks;
buffer.push("<a href='" + this.get('content.url') + "' class='track-link'>"); buffer.push("<a href='" + this.get('content.url') + "' class='track-link'>");
buffer.push("<i class='icon icon-arrow-'" + this.direction() + "'></i>"); buffer.push("<i class='icon icon-arrow-" + this.direction() + "'></i>");
buffer.push(this.get('content.title')); buffer.push(this.get('content.title'));
if (clicks = this.get('content.clicks')) { if (clicks = this.get('content.clicks')) {
buffer.push("<span class='badge badge-notification clicks'>" + clicks + "</span>"); buffer.push("<span class='badge badge-notification clicks'>" + clicks + "</span>");