[Lada-commits] [PATCH 1 of 2] Changed title of Probe- and Messungs-mask/ added ProbeId as displayfield
Wald Commits
scm-commit at wald.intevation.org
Mon Jul 11 10:31:42 CEST 2016
# HG changeset patch
# User Evi Huber <ehuber at bfs.de>
# Date 1468225621 -7200
# Node ID 5e3d4136ecfb98099ac04d9efd9b8a7cfd488d30
# Parent 9b157a8eecf1bde00c91ccec7752369f8233741e
Changed title of Probe- and Messungs-mask/ added ProbeId as displayfield
diff -r 9b157a8eecf1 -r 5e3d4136ecfb app/view/form/Probe.js
--- a/app/view/form/Probe.js Tue Jul 05 09:16:20 2016 +0200
+++ b/app/view/form/Probe.js Mon Jul 11 10:27:01 2016 +0200
@@ -75,7 +75,14 @@
items: [{
layout: 'vbox',
border: 0,
- items: [{
+ items: [{
+ xtype: 'displayfield',
+ name: 'probeIdAlt',
+ fieldLabel: i18n.getMsg('probeId'),
+ margin: '0, 5, 5, 5',
+ labelWidth: 95,
+ maxLength: 20
+ },{
layout: {
type: 'hbox',
align: 'stretch'
diff -r 9b157a8eecf1 -r 5e3d4136ecfb app/view/window/MessungCreate.js
--- a/app/view/window/MessungCreate.js Tue Jul 05 09:16:20 2016 +0200
+++ b/app/view/window/MessungCreate.js Mon Jul 11 10:27:01 2016 +0200
@@ -42,8 +42,8 @@
var messstelle = Ext.data.StoreManager.get('messstellen')
.getById(this.probe.get('mstId'));
- this.title = 'Neue Messung zu Probe: '
- + this.probe.get('probeIdAlt')
+ this.title = 'Neue Messung zu Probe - Hauptprobennr.: '
+ + this.probe.get('hauptprobenNr')
+ ' Mst: ' + messstelle.get('messStelle')
+ ' hinzufügen.';
diff -r 9b157a8eecf1 -r 5e3d4136ecfb app/view/window/MessungEdit.js
--- a/app/view/window/MessungEdit.js Tue Jul 05 09:16:20 2016 +0200
+++ b/app/view/window/MessungEdit.js Mon Jul 11 10:27:01 2016 +0200
@@ -157,7 +157,7 @@
var messstelle = Ext.data.StoreManager.get('messstellen')
.getById(this.probe.get('mstId'));
this.setTitle('Messung: ' + this.record.get('nebenprobenNr')
- + ' zu Probe: ' + this.probe.get('probeIdAlt')
+ + ' zu Probe - Hauptprobennr.: ' + this.probe.get('hauptprobenNr')
+ ' Mst: ' + messstelle.get('messStelle')
+ ' editieren.');
diff -r 9b157a8eecf1 -r 5e3d4136ecfb app/view/window/ProbeEdit.js
--- a/app/view/window/ProbeEdit.js Tue Jul 05 09:16:20 2016 +0200
+++ b/app/view/window/ProbeEdit.js Mon Jul 11 10:27:01 2016 +0200
@@ -38,8 +38,6 @@
this.callParent(arguments);
return;
}
- var extendedTitle = this.record.get('probeId') ? this.record.get('probeId') : '';
- this.title = '§3-Probe ' + extendedTitle;
this.buttons = [{
text: 'Schließen',
scope: this,
@@ -139,6 +137,11 @@
var owner = this.record.get('owner');
var readonly = this.record.get('readonly');
+ var messstelle = Ext.data.StoreManager.get('messstellen')
+ .getById(this.record.get('mstId'));
+ this.setTitle('§3 Probe - Hauptprobennr.: ' + this.record.get('hauptprobenNr')
+ + ' Mst: ' + messstelle.get('messStelle'));
+
if (owner) {
//Always allow to Add Messungen.
me.enableAddMessungen();
diff -r 9b157a8eecf1 -r 5e3d4136ecfb resources/i18n/Lada_de-DE.properties
--- a/resources/i18n/Lada_de-DE.properties Tue Jul 05 09:16:20 2016 +0200
+++ b/resources/i18n/Lada_de-DE.properties Mon Jul 11 10:27:01 2016 +0200
@@ -61,6 +61,7 @@
name:Name
mprId:Mpr-Id
mstId:Messstelle
+probeId:ProbeId
datenbasisId:Datenbasis
baId:Messregime
probeNehmerId:Probennehmer
More information about the Lada-commits
mailing list