régis' git-fu at his best...
This commit is contained in:
parent
3cc08c3b27
commit
a98d4d9b35
|
@ -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>");
|
||||||
|
|
Loading…
Reference in New Issue