From c18d892a4e731dbf8a2587c4310bc956974c58d4 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Thu, 4 Sep 2014 13:05:27 +0300 Subject: [PATCH] bottom panel label --- frontend/client/src/views/record/detail-bottom.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/client/src/views/record/detail-bottom.js b/frontend/client/src/views/record/detail-bottom.js index 8c50c63f41..a0bbe62394 100644 --- a/frontend/client/src/views/record/detail-bottom.js +++ b/frontend/client/src/views/record/detail-bottom.js @@ -82,7 +82,11 @@ Espo.define('Views.Record.DetailBottom', 'View', function (Dep) { if ('getButtons' in view) { p.buttons = this.filterActions(view.getButtons()); } - p.title = view.title; + if (p.label) { + p.title = this.translate(p.label, 'labels', scope); + } else { + p.title = view.title; + } }.bind(this)); }.bind(this));