From 978a1810bba10d2ec435daa5ae549e6b63f1fabe Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 22 Oct 2020 14:14:55 +0200 Subject: [PATCH] WIP Multitabs: add more details to tab's label(display name) --- addressbook/js/app.js | 2 +- addressbook/js/app.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addressbook/js/app.js b/addressbook/js/app.js index aedfabbd6a..621e2bd462 100644 --- a/addressbook/js/app.js +++ b/addressbook/js/app.js @@ -206,7 +206,7 @@ var AddressbookApp = /** @class */ (function (_super) { extras.crm_list = _action.id.replace('view-', ''); } this.egw.openTab(id, 'addressbook', 'view', extras, { - displayName: data.n_fn, + displayName: data.n_fn + "(" + egw.lang(extras.crm_list) + ")", icon: data.photo, refreshCallback: this.view_refresh, id: id + '-' + extras.crm_list, diff --git a/addressbook/js/app.ts b/addressbook/js/app.ts index ef240ac385..74168fb49b 100644 --- a/addressbook/js/app.ts +++ b/addressbook/js/app.ts @@ -229,7 +229,7 @@ class AddressbookApp extends EgwApp } this.egw.openTab(id, 'addressbook', 'view', extras, { - displayName: data.n_fn, + displayName: data.n_fn+"("+egw.lang(extras.crm_list)+")", icon: data.photo, refreshCallback: this.view_refresh, id: id+'-'+extras.crm_list,