{:uriI"³file://app/assets/javascripts/templates/user/comments/comment.jst.eco?type=application/javascript&pipeline=self&id=f0822457dcd8c82ccea5d974662f4338004e7c23b0541f477db31398bdf134d3:ET:load_pathI"app/assets/javascripts;T: filenameI"Capp/assets/javascripts/templates/user/comments/comment.jst.eco;T: nameI"$templates/user/comments/comment;T:logical_pathI",templates/user/comments/comment.self.js;T:content_typeI"application/javascript;T:sourceI"Ž(function() { this.JST || (this.JST = {}); this.JST["templates/user/comments/comment"] = function(__obj) { if (!__obj) __obj = {}; var __out = [], __capture = function(callback) { var out = __out, result; __out = []; callback.call(this); result = __out.join(''); __out = out; return __safe(result); }, __sanitize = function(value) { if (value && value.ecoSafe) { return value; } else if (typeof value !== 'undefined' && value != null) { return __escape(value); } else { return ''; } }, __safe, __objSafe = __obj.safe, __escape = __obj.escape; __safe = __obj.safe = function(value) { if (value && value.ecoSafe) { return value; } else { if (!(typeof value !== 'undefined' && value != null)) value = ''; var result = new String(value); result.ecoSafe = true; return result; } }; if (!__escape) { __escape = __obj.escape = function(value) { return ('' + value) .replace(/&/g, '&') .replace(//g, '>') .replace(/"/g, '"'); }; } (function() { (function() { __out.push('
\n ');
__out.push(__sanitize(this.comment.author));
__out.push(' on\n ');
__out.push(__sanitize((new App.Services.Date(this.comment.createdAt)).strftime('%d %b %y')));
__out.push('\n ');
if (this.isAdmin) {
__out.push('\n (\n ');
if (!this.comment.approved) {
__out.push('\n approve |\n ');
}
__out.push('\n edit |\n delete\n )\n ');
}
__out.push('\n
\n ');
__out.push(__sanitize(this.comment.text));
__out.push('\n