bottom panel label

This commit is contained in:
Yuri Kuznetsov
2014-09-04 13:05:27 +03:00
parent c8bfd1c6dd
commit c18d892a4e
@@ -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));