forked from madcowfred/evething
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplates.js
More file actions
44 lines (41 loc) · 3.04 KB
/
Copy pathtemplates.js
File metadata and controls
44 lines (41 loc) · 3.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
this["Handlebars"] = this["Handlebars"] || {};
this["Handlebars"]["templates"] = this["Handlebars"]["templates"] || {};
this["Handlebars"]["templates"]["mail_list"] = Handlebars.template(function (Handlebars,depth0,helpers,partials,data) {
this.compilerInfo = [4,'>= 1.0.0'];
helpers = this.merge(helpers, Handlebars.helpers); data = data || {};
var buffer = "", stack1, helper, functionType="function", escapeExpression=this.escapeExpression;
buffer += " <tr";
if (helper = helpers.rowClass) { stack1 = helper.call(depth0, {hash:{},data:data}); }
else { helper = (depth0 && depth0.rowClass); stack1 = typeof helper === functionType ? helper.call(depth0, {hash:{},data:data}) : helper; }
buffer += escapeExpression(stack1)
+ " data-message-id=\"";
if (helper = helpers.message_id) { stack1 = helper.call(depth0, {hash:{},data:data}); }
else { helper = (depth0 && depth0.message_id); stack1 = typeof helper === functionType ? helper.call(depth0, {hash:{},data:data}) : helper; }
buffer += escapeExpression(stack1)
+ "\">\n <td class=\"mail-checkbox\"><input type=\"checkbox\" name=\"message_";
if (helper = helpers.message_id) { stack1 = helper.call(depth0, {hash:{},data:data}); }
else { helper = (depth0 && depth0.message_id); stack1 = typeof helper === functionType ? helper.call(depth0, {hash:{},data:data}) : helper; }
buffer += escapeExpression(stack1)
+ "\"></td>\n <td class=\"mail-from\">";
if (helper = helpers.senderText) { stack1 = helper.call(depth0, {hash:{},data:data}); }
else { helper = (depth0 && depth0.senderText); stack1 = typeof helper === functionType ? helper.call(depth0, {hash:{},data:data}) : helper; }
buffer += escapeExpression(stack1)
+ "</td>\n <td class=\"mail-to\">";
if (helper = helpers.toText) { stack1 = helper.call(depth0, {hash:{},data:data}); }
else { helper = (depth0 && depth0.toText); stack1 = typeof helper === functionType ? helper.call(depth0, {hash:{},data:data}) : helper; }
buffer += escapeExpression(stack1)
+ "</td>\n <td><a class=\"mail-link\" href=\"#";
if (helper = helpers.message_id) { stack1 = helper.call(depth0, {hash:{},data:data}); }
else { helper = (depth0 && depth0.message_id); stack1 = typeof helper === functionType ? helper.call(depth0, {hash:{},data:data}) : helper; }
buffer += escapeExpression(stack1)
+ "\">";
if (helper = helpers.subjectText) { stack1 = helper.call(depth0, {hash:{},data:data}); }
else { helper = (depth0 && depth0.subjectText); stack1 = typeof helper === functionType ? helper.call(depth0, {hash:{},data:data}) : helper; }
buffer += escapeExpression(stack1)
+ "</a></td>\n <td class=\"mail-date\">";
if (helper = helpers.sent_date) { stack1 = helper.call(depth0, {hash:{},data:data}); }
else { helper = (depth0 && depth0.sent_date); stack1 = typeof helper === functionType ? helper.call(depth0, {hash:{},data:data}) : helper; }
buffer += escapeExpression(stack1)
+ "</td>\n </tr>\n";
return buffer;
});