mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
narrow_banner: Move empty narrow messages to handlebar templates.
Removed existing empty narrow divs from app/home.html and created a new javascript module to dynamically load empty narrow messages using handlebar template. Fixes #18797
This commit is contained in:
@@ -219,7 +219,7 @@ class HomeTest(ZulipTestCase):
|
||||
def test_home(self) -> None:
|
||||
# Keep this list sorted!!!
|
||||
html_bits = [
|
||||
"start the conversation",
|
||||
"empty_feed_notice_main",
|
||||
"Loading...",
|
||||
# Verify that the app styles get included
|
||||
"app-stubentry.js",
|
||||
@@ -446,7 +446,7 @@ class HomeTest(ZulipTestCase):
|
||||
which still want the home page to load properly.
|
||||
"""
|
||||
html = result.content.decode()
|
||||
if "start a conversation" not in html:
|
||||
if "empty_feed_notice_main" not in html:
|
||||
raise AssertionError("Home page probably did not load.")
|
||||
|
||||
def test_terms_of_service(self) -> None:
|
||||
|
||||
Reference in New Issue
Block a user