Clean message_edit_history.handlebars to use 4 space indents.

This commit is contained in:
Aditya Bansal 2017-04-15 08:09:47 +05:30 committed by Tim Abbott
parent 23f8ec9759
commit c98cf5ba63
3 changed files with 6 additions and 7 deletions

View File

@ -698,7 +698,7 @@ function render(template_name, args) {
global.write_test_output("message_edit_history.handlebars", html);
var edited_message = $(html).find("div.messagebox-content");
assert.equal(edited_message.text().trim(),
"1468132659\n Let's go to dinner!\n Edited by Alice");
"1468132659\n Let's go to dinner!\n Edited by Alice");
}());
(function message_reaction() {

View File

@ -4,11 +4,11 @@
{{#each edited_messages}}
<div class="">
<div class="messagebox-border">
<div class="messagebox-content">
<div class="message_top_line"><span class="message_time">{{ timestamp }}</span></div>
<div class="message_edit_content">{{{ body_to_render }}}</div>
<div class="message_author"><div class="author_details">{{ posted_or_edited }} {{ edited_by }}</div></div>
</div>
<div class="messagebox-content">
<div class="message_top_line"><span class="message_time">{{ timestamp }}</span></div>
<div class="message_edit_content">{{{ body_to_render }}}</div>
<div class="message_author"><div class="author_details">{{ posted_or_edited }} {{ edited_by }}</div></div>
</div>
</div>
</div>
<hr/>

View File

@ -218,7 +218,6 @@ def check_handlebar_templates(templates):
'static/templates/actions_popover_content.handlebars',
'static/templates/admin_user_list.handlebars',
'static/templates/bot_avatar_row.handlebars',
'static/templates/message_edit_history.handlebars',
'static/templates/stream_privacy.handlebars',
'static/templates/user_sidebar_actions.handlebars',
'static/templates/settings/account-settings.handlebars',