Rename the zephyr template to the message template.

(imported from commit c15e2cc08d3604a82d90a96efa4f70d101971df4)
This commit is contained in:
Tim Abbott 2012-10-10 10:32:59 -04:00
parent 2170c7a352
commit 42c05b9690
4 changed files with 4 additions and 4 deletions

View File

@ -12,8 +12,8 @@
{% block customhead %} {% block customhead %}
<script id="template_zephyr" type="text/x-handlebars-template"> <script id="template_message" type="text/x-handlebars-template">
{% rawjstemplate "zephyr" %} {% rawjstemplate "message" %}
</script> </script>
<script id="template_subscription" type="text/x-handlebars-template"> <script id="template_subscription" type="text/x-handlebars-template">

View File

@ -13,7 +13,7 @@ $(function () {
} }
// Compile Handlebars templates. // Compile Handlebars templates.
templates.zephyr = Handlebars.compile($("#template_zephyr").html()); templates.message = Handlebars.compile($("#template_message").html());
templates.subscription = Handlebars.compile($("#template_subscription").html()); templates.subscription = Handlebars.compile($("#template_subscription").html());
}); });

View File

@ -326,7 +326,7 @@ function add_to_table(messages, table_name, filter_function, where) {
message_groups[table_name] = message_groups[table_name].concat(new_message_groups); message_groups[table_name] = message_groups[table_name].concat(new_message_groups);
} }
var rendered = templates.zephyr({ var rendered = templates.message({
messages: messages_to_render, messages: messages_to_render,
include_layout_row: (table.find('tr:first').length === 0) include_layout_row: (table.find('tr:first').length === 0)
}); });