diff --git a/frontend_tests/casper_tests/03-narrow.js b/frontend_tests/casper_tests/03-narrow.js index 4a68ada124..b7272a7ea3 100644 --- a/frontend_tests/casper_tests/03-narrow.js +++ b/frontend_tests/casper_tests/03-narrow.js @@ -180,7 +180,7 @@ function search_silent_user(str, item) { casper.waitUntilVisible('#silent_user', function () { casper.test.info("Empty feed for silent user visible."); var expected_message = "\n You haven't received any messages sent by this user yet!"+ - "\n "; + "\n "; this.test.assertEquals(casper.fetchText('#silent_user'), expected_message); }); }); @@ -193,7 +193,7 @@ function search_non_existing_user(str, item) { casper.waitUntilVisible('#non_existing_user', function () { casper.test.info("Empty feed for non existing user visible."); var expected_message = "\n This user does not exist!"+ - "\n "; + "\n "; this.test.assertEquals(casper.fetchText('#non_existing_user'), expected_message); }); }); diff --git a/templates/zerver/home.html b/templates/zerver/home.html index 504feb9af6..ed6bb06961 100644 --- a/templates/zerver/home.html +++ b/templates/zerver/home.html @@ -1,114 +1,134 @@ {# Home tab of the app, containing messages. #} -