You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2022/08/17 21:51:41 UTC
[superset] 01/01: ok
This is an automated email from the ASF dual-hosted git repository.
hugh pushed a commit to branch config-title
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 053f4bc9f0fdf485f80c35efc7c2049c376713fc
Author: hughhhh <hu...@gmail.com>
AuthorDate: Wed Aug 17 13:09:08 2022 -0400
ok
---
superset/config.py | 1 +
superset/templates/superset/basic.html | 1 +
2 files changed, 2 insertions(+)
diff --git a/superset/config.py b/superset/config.py
index cc566fe6ee..21c7e02859 100644
--- a/superset/config.py
+++ b/superset/config.py
@@ -102,6 +102,7 @@ PACKAGE_JSON_FILE = pkg_resources.resource_filename(
# "rel": "icon"
# },
FAVICONS = [{"href": "/static/assets/images/favicon.png"}]
+TAB_TITLE = None
def _try_json_readversion(filepath: str) -> Optional[str]:
diff --git a/superset/templates/superset/basic.html b/superset/templates/superset/basic.html
index fff57fdb9f..03796ceb8c 100644
--- a/superset/templates/superset/basic.html
+++ b/superset/templates/superset/basic.html
@@ -22,6 +22,7 @@
{% from 'superset/partials/asset_bundle.html' import css_bundle, js_bundle with context %}
{% set favicons = appbuilder.app.config['FAVICONS'] %}
+{% set title = appbuilder.app.config['TAB_TITLE'] %}
<html>
<head>
<title>