diff app/view/form/Probe.js @ 1386:7e9a6f0e55b3

Added UI for audit trail. TODO: add more i18n strings.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 24 Feb 2017 14:32:55 +0100
parents 59c1f162fe8f
children dc90e2997071
line wrap: on
line diff
--- a/app/view/form/Probe.js	Thu Feb 23 12:49:28 2017 +0100
+++ b/app/view/form/Probe.js	Fri Feb 24 14:32:55 2017 +0100
@@ -60,6 +60,12 @@
                         borderRight: '1px solid #b5b8c8 !important'
                     },
                     items: ['->', {
+                        text: i18n.getMsg('audittrail'),
+                        qtip: i18n.getMsg('qtip.audit'),
+                        icon: 'resources/img/distribute-vertical-center.png',
+                        action: 'audit',
+                        disabled: this.recordId === null
+                    }, {
                         text: 'Speichern',
                         qtip: 'Daten speichern',
                         icon: 'resources/img/dialog-ok-apply.png',

http://lada.wald.intevation.org