From ae9de5a7b9cf43ad488022675d243a4b7a863aa4 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 6 Sep 2017 09:53:06 +1200 Subject: Add attributes button to state toolbar --- web/app/view/State.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'web/app/view/State.js') diff --git a/web/app/view/State.js b/web/app/view/State.js index 8214971..d161251 100644 --- a/web/app/view/State.js +++ b/web/app/view/State.js @@ -35,6 +35,16 @@ Ext.define('Traccar.view.State', { xtype: 'tbtext', html: Strings.stateTitle, baseCls: 'x-panel-header-title-default' + }, { + xtype: 'tbfill' + }, { + xtype: 'button', + disabled: true, + handler: 'onComputedAttributesClick', + reference: 'computedAttributesButton', + glyph: 'xf0ae@FontAwesome', + tooltip: Strings.sharedComputedAttributes, + tooltipType: 'title' }] }, -- cgit v1.2.3