mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 03:11:54 +00:00
navbar: Migrate to handlebars.
This commit migrates the `navbar.html` Django template to handlebars by creating a new file as `navbar.hbs` within `/static/templates` which is then rendered using `ui_init` module. As a part of migration, we also remove the `search_pills_enabled` and `embedded` parameters from the context attribute as they are no longer needed now. Fixes part of #18792.
This commit is contained in:
committed by
Tim Abbott
parent
3294e8dbe0
commit
c6828767fa
@@ -675,8 +675,6 @@ html_rules: List["Rule"] = [
|
||||
# Social backend logos are dynamically loaded
|
||||
"templates/zerver/accounts_home.html",
|
||||
"templates/zerver/login.html",
|
||||
# Probably just needs to be changed to display: none so the exclude works
|
||||
"templates/zerver/app/navbar.html",
|
||||
# Needs the width cleaned up; display: none is fine
|
||||
"static/templates/settings/account_settings.hbs",
|
||||
# background image property is dynamically generated
|
||||
|
||||
Reference in New Issue
Block a user