diff app/view/grid/FilterResult.js @ 923:7cbbe0485d0d

Added a Print-button which sends a selection of proben to a service which still has to be specified.
author Dustin Demuth <dustin@intevation.de>
date Thu, 20 Aug 2015 14:37:37 +0200
parents 07dfcdf5b41f
children
line wrap: on
line diff
--- a/app/view/grid/FilterResult.js	Fri Aug 14 13:31:30 2015 +0200
+++ b/app/view/grid/FilterResult.js	Thu Aug 20 14:37:37 2015 +0200
@@ -51,6 +51,11 @@
                 icon: 'resources/img/svn-update.png',
                 action: 'export',
                 disabled: true
+            }, {
+                text: 'Auswahl Drucken',
+                icon: 'resources/img/printer.png',
+                action: 'print',
+                disabled: true
             },
             '-',
             {
@@ -102,6 +107,7 @@
             this.down('button[action=addProbe]').enable();
             this.down('button[action=import]').enable();
             this.down('button[action=export]').enable();
+            this.down('button[action=print]').enable();
         }
         else if (store.model.modelName == 'Lada.model.MessprogrammList') {
             t.setText(i18n.getMsg('probeplanning'));
@@ -110,6 +116,7 @@
             this.down('button[action=addProbe]').disable();
             this.down('button[action=import]').disable();
             this.down('button[action=export]').disable();
+            this.down('button[action=print]').disable();
         }
         else {
             t.setText('');

http://lada.wald.intevation.org