Removing [dashboard] and [slice] titles to show name

This commit is contained in:
Michelle Thomas 2018-03-08 13:55:00 -08:00
parent 42ebcaad40
commit 402c7ddb26
1 changed files with 2 additions and 2 deletions

View File

@ -1297,7 +1297,7 @@ class Superset(BaseSupersetView):
if datasource_type == 'table' \
else datasource.datasource_name
if slc:
title = '[slice] ' + slc.slice_name
title = slc.slice_name
else:
title = '[explore] ' + table_name
return self.render_template(
@ -2064,7 +2064,7 @@ class Superset(BaseSupersetView):
'superset/dashboard.html',
entry='dashboard',
standalone_mode=standalone_mode,
title='[dashboard] ' + dash.dashboard_title,
title=dash.dashboard_title,
bootstrap_data=json.dumps(bootstrap_data),
)