ember-ebau-gwr 2.7.1 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/addon/components/import-modal/building-data.hbs +64 -0
  3. package/addon/components/import-modal/dwelling-data.hbs +30 -0
  4. package/addon/components/import-modal/entrance-data.hbs +14 -0
  5. package/addon/components/import-modal.hbs +54 -0
  6. package/addon/components/import-modal.js +6 -0
  7. package/addon/components/link-building-modal.hbs +1 -1
  8. package/addon/components/link-building-modal.js +2 -0
  9. package/addon/components/link-street.hbs +83 -0
  10. package/addon/components/link-street.js +6 -0
  11. package/addon/components/linked-models.hbs +1 -1
  12. package/addon/components/linked-models.js +6 -0
  13. package/addon/components/linked-projects.hbs +1 -1
  14. package/addon/components/linked-projects.js +6 -0
  15. package/addon/components/model-form/date.hbs +1 -0
  16. package/addon/components/model-form/date.js +6 -6
  17. package/addon/components/model-form/diff.hbs +40 -27
  18. package/addon/components/model-form/field.hbs +13 -8
  19. package/addon/components/model-form/field.js +27 -8
  20. package/addon/components/model-form/header/actions.hbs +65 -33
  21. package/addon/components/model-form/header/actions.js +6 -0
  22. package/addon/components/model-form/header.hbs +4 -2
  23. package/addon/components/model-form.hbs +6 -5
  24. package/addon/components/model-form.js +17 -5
  25. package/addon/components/project-form/date.hbs +1 -1
  26. package/addon/components/project-form/field.hbs +1 -1
  27. package/addon/components/project-form/field.js +1 -1
  28. package/addon/controllers/building/edit/dwelling/edit.js +11 -2
  29. package/addon/controllers/building/edit/entrance/edit/index.js +12 -2
  30. package/addon/controllers/building/edit/entrance/edit/link-street.js +30 -6
  31. package/addon/controllers/building/edit/entrances.js +18 -2
  32. package/addon/controllers/building/edit/form.js +23 -11
  33. package/addon/controllers/import.js +70 -0
  34. package/addon/controllers/project/form.js +6 -13
  35. package/addon/controllers/project.js +1 -0
  36. package/addon/helpers/is-unset.js +7 -0
  37. package/addon/models/building-entrance.js +4 -3
  38. package/addon/models/building.js +73 -74
  39. package/addon/models/client.js +1 -1
  40. package/addon/models/construction-project.js +8 -8
  41. package/addon/models/identification.js +2 -1
  42. package/addon/routes/building/edit/entrance/edit/index.js +3 -1
  43. package/addon/routes/building/edit/entrance/edit/link-street.js +8 -1
  44. package/addon/routes/building/edit/index.js +13 -1
  45. package/addon/routes/building/new.js +19 -0
  46. package/addon/routes/project/form.js +5 -0
  47. package/addon/routes/project/new.js +3 -2
  48. package/addon/services/building-entrance.js +1 -1
  49. package/addon/services/building.js +6 -0
  50. package/addon/services/construction-project.js +0 -6
  51. package/addon/services/gwr.js +4 -2
  52. package/addon/templates/building/edit/dwelling/edit.hbs +1 -0
  53. package/addon/templates/building/edit/entrance/edit/index.hbs +7 -60
  54. package/addon/templates/building/edit/entrance/edit/link-street.hbs +9 -4
  55. package/addon/templates/building/edit/entrances.hbs +6 -3
  56. package/addon/templates/building/edit/form.hbs +40 -3
  57. package/addon/templates/project/form.hbs +20 -20
  58. package/addon/templates/project.hbs +3 -3
  59. package/addon/validations/building-entrance.js +5 -0
  60. package/addon/validations/building-work.js +30 -10
  61. package/addon/validations/realestate-identification.js +1 -1
  62. package/addon/validations/status/status-project-change.js +1 -1
  63. package/addon/validations/status/status-project-correction.js +1 -1
  64. package/addon/xml/templates/construction-project.js +1 -2
  65. package/app/styles/ember-ebau-gwr.scss +24 -5
  66. package/package.json +1 -1
  67. package/translations/building/de.yaml +7 -0
  68. package/translations/building-entrance/de.yaml +2 -10
  69. package/translations/construction-project/de.yaml +1 -1
  70. package/translations/de.yaml +18 -3
  71. package/translations/dwelling/de.yaml +3 -0
@@ -1,14 +1,14 @@
1
1
  <SubNav
2
2
  @backRoute={{this.backRoute}}
3
- @backText={{t "ember-gwr.buildingEntrance.backToEntrance"}}
3
+ @backText={{this.backRouteLabel}}
4
4
  />
5
5
  <h1>
6
- {{t "ember-gwr.buildingEntrance.linkStreet.heading"}}
6
+ {{t "ember-gwr.components.linkStreet.heading"}}
7
7
  </h1>
8
8
 
9
9
  <Search::Filters
10
10
  @search={{this.search}}
11
- @searchLabel={{t "ember-gwr.buildingEntrance.linkStreet.search"}}
11
+ @searchLabel={{t "ember-gwr.components.linkStreet.search"}}
12
12
  @baseQuery={{this.baseQuery}}
13
13
  as |Field|
14
14
  >
@@ -22,7 +22,12 @@
22
22
  </div>
23
23
  </div>
24
24
  <div class="uk-width-1-2@m uk-width-1">
25
- <Field @attr="locality.name.nameLong" @translationBase="ember-gwr" />
25
+ <Field
26
+ @attr="locality.name.nameLong"
27
+ @translationBase="ember-gwr"
28
+ @disabled={{true}}
29
+ @value={{this.locality}}
30
+ />
26
31
  </div>
27
32
  </div>
28
33
 
@@ -5,14 +5,17 @@
5
5
  </div>
6
6
  {{else}}
7
7
  <LinkedModels
8
- @models={{this.fetchEntrances.lastSuccessful.value}}
8
+ @models={{this.entrances}}
9
9
  @modelName="entrance"
10
10
  @newRoute="building.edit.entrance.new"
11
11
  {{!--
12
12
  TODO removing a entrance is not allowed if there is still a dwelling attached to it
13
- We also cannot remove an entrance if there is only one.
14
- @removeLink={{this.removeEntranceLink}}
13
+ We also cannot remove an entrance if there is only one. This only applies for active
14
+ instances of dwellings and building entrances. Since building entrance deactivation
15
+ is an asynchronous process, we should check the mutation status of deactivated
16
+ building entrances and dwellings, to ensure that the requirements hold.
15
17
  --}}
18
+ @removeLink={{if (gt this.entrances.length 1) this.removeEntranceLink}}
16
19
  as |model|
17
20
  >
18
21
  <td class="uk-table-shrink">
@@ -28,6 +28,7 @@
28
28
  @projectId={{this.model.projectId}}
29
29
  @headerModelName="building"
30
30
  @hasStatus={{true}}
31
+ @import={{this.import}}
31
32
  @modelStatusOptions={{this.buildingStatusOptions}}
32
33
  @nextValidStates={{this.nextValidStates}}
33
34
  @onStatusChange={{this.transitionState}}
@@ -46,7 +47,7 @@
46
47
  }}
47
48
  </h3>
48
49
  <div class="uk-flex uk-margin">
49
- <div class="uk-width-1-2 ">
50
+ <div class="uk-width-1-2">
50
51
  <span class="uk-form-label">{{t
51
52
  "ember-gwr.buildingWork.kindOfWork"
52
53
  }}:</span>
@@ -57,7 +58,7 @@
57
58
  )
58
59
  }}</span>
59
60
  </div>
60
- <div class="uk-width-1-2 ">
61
+ <div class="uk-width-1-2">
61
62
  <span class="uk-form-label">{{t
62
63
  "ember-gwr.buildingWork.ARBID"
63
64
  }}:</span>
@@ -141,6 +142,39 @@
141
142
  @gwrEnumOptions={{this.Models.Building.buildingClassOptions}}
142
143
  />
143
144
 
145
+
146
+ {{#if this.buildingWork.building.isNew}}
147
+ <h3>
148
+ {{t "ember-gwr.building.buildingEntrance.mainEntrance"}}
149
+ </h3>
150
+ {{#let
151
+ this.buildingWork.building.buildingEntrance
152
+ as |buildingEntrance|
153
+ }}
154
+ <Field
155
+ @attr="building.buildingEntrance.locality.name.nameLong"
156
+ @required={{true}}
157
+ @label="ember-gwr.buildingEntrance.fields.locality.name.nameLong"
158
+ @hint={{t "ember-gwr.components.linkStreet.localityHint"}}
159
+ />
160
+ <Field
161
+ @attr="building.buildingEntrance.buildingEntranceNo"
162
+ @label="ember-gwr.buildingEntrance.fields.buildingEntranceNo"
163
+ />
164
+ <Field
165
+ @attr="building.buildingEntrance.isOfficialAddress"
166
+ @type="checkbox"
167
+ @label="ember-gwr.buildingEntrance.fields.isOfficialAddress"
168
+ />
169
+ <LinkStreet
170
+ @fieldComponent={{Field}}
171
+ @buildingEntrance={{buildingEntrance}}
172
+ @routeModels={{array "new" "new"}}
173
+ @translationBase="ember-gwr.buildingEntrance.fields"
174
+ />
175
+ {{/let}}
176
+ {{/if}}
177
+
144
178
  <h3>
145
179
  {{t "ember-gwr.building.sections.locality"}}
146
180
  </h3>
@@ -216,7 +250,10 @@
216
250
  <Field @attr="building.realestateIdentification.number" />
217
251
  <Field @attr="building.realestateIdentification.numberSuffix" />
218
252
  <Field @attr="building.realestateIdentification.EGRID" />
219
- <Field @type="number" @attr="building.realestateIdentification.subDistrict" />
253
+ <Field
254
+ @type="number"
255
+ @attr="building.realestateIdentification.subDistrict"
256
+ />
220
257
  <Field @attr="building.realestateIdentification.lot" />
221
258
 
222
259
  <h3>
@@ -1,7 +1,4 @@
1
- <div
2
- {{did-insert (perform this.fetchProject)}}
3
- {{did-update (perform this.fetchProject) @model.projectId}}
4
- >
1
+ <div>
5
2
  {{#if this.fetchProject.isRunning}}
6
3
  <div class="uk-flex uk-flex-center uk-flex-middle uk-margin-large-top">
7
4
  <UkSpinner @ratio="3" />
@@ -10,13 +7,10 @@
10
7
  <ModelForm
11
8
  @model={{this.project}}
12
9
  @validations={{this.ConstructionProjectValidations}}
13
- @importData={{if this.import this.importData}}
14
10
  @onSubmit={{this.saveProject}}
15
11
  @errors={{this.errors}}
16
12
  @translationBase="ember-gwr.constructionProject.fields"
17
- @hasImport={{true}}
18
13
  @import={{this.import}}
19
- @importAllData={{this.importAllData}}
20
14
  @headerModel={{this.project}}
21
15
  @headerModelId={{this.project.EPROID}}
22
16
  @projectId={{this.project.EPROID}}
@@ -30,7 +24,6 @@
30
24
  @getCorrectionParameters={{this.getCorrectionParameters}}
31
25
  @getChangeHint={{this.getChangeHint}}
32
26
  @modelStatusField="projectStatus"
33
- {{did-insert (perform this.fetchCalumaData)}}
34
27
  as |Field changeset|
35
28
  >
36
29
  {{#unless this.project.isNew}}
@@ -101,12 +94,19 @@
101
94
  />
102
95
  </div>
103
96
  {{else}}
104
- <div class="uk-width-medium uk-margin-large-right uk-flex-inline uk-flex-middle">
97
+ <div
98
+ class="uk-width-medium uk-margin-large-right uk-flex-inline uk-flex-middle"
99
+ >
105
100
  <div class="uk-form-label uk-margin-small-right">
106
101
  {{t "ember-gwr.buildingWork.kindOfWork"}}:
107
102
  </div>
108
103
  <div>
109
- {{t (concat "ember-gwr.buildingWork.kindOfWorkOptions." model.kindOfWork)}}
104
+ {{t
105
+ (concat
106
+ "ember-gwr.buildingWork.kindOfWorkOptions."
107
+ model.kindOfWork
108
+ )
109
+ }}
110
110
  </div>
111
111
  </div>
112
112
  <div class="uk-flex-inline uk-flex-middle">
@@ -197,9 +197,9 @@
197
197
  />
198
198
  </div>
199
199
  {{/if}}
200
- {{#if this.project.nonRealisationDate}}
200
+ {{#if this.project.cancellationDate}}
201
201
  <div class={{spacingClass}}>
202
- <Field @inputType="date" @attr="nonRealisationDate" />
202
+ <Field @inputType="date" @attr="cancellationDate" />
203
203
  </div>
204
204
  {{/if}}
205
205
  {{#if this.project.withdrawalDate}}
@@ -242,7 +242,7 @@
242
242
  (not-eq changeset.typeOfClient 6161)
243
243
  (and
244
244
  this.import
245
- this.importData.client.identification.organisationIdentification.organisationName
245
+ this.import.data.client.identification.organisationIdentification.organisationName
246
246
  )
247
247
  )
248
248
  }}
@@ -331,11 +331,12 @@
331
331
  {{/if}}
332
332
  </div>
333
333
 
334
- <UkModal
334
+ <UkModal
335
335
  @visible={{this.showConfirmationDialog}}
336
336
  @btnClose={{false}}
337
337
  @bgClose={{false}}
338
338
  @escClose={{false}}
339
+ @container={{this.config.modalContainer}}
339
340
  as |modal|
340
341
  >
341
342
  <modal.header>
@@ -351,16 +352,15 @@
351
352
  {{/if}}
352
353
  </modal.body>
353
354
  <modal.footer @class="uk-text-right">
354
- <UkButton
355
- @color="default"
356
- @label={{t "ember-gwr.components.modelForm.project.confirmationContinue"}}
355
+ <UkButton
356
+ @color="default"
357
+ @label={{t "ember-gwr.components.modelForm.project.confirmationContinue"}}
357
358
  {{on "click" (perform this.processTypeOfConstructionProjectChange)}}
358
359
  />
359
- <UkButton
360
- @color="primary"
360
+ <UkButton
361
+ @color="primary"
361
362
  @label={{t "ember-gwr.components.modelForm.project.confirmationCancel"}}
362
363
  {{on "click" this.cancelTypeOfConstructionProjectChange}}
363
364
  />
364
365
  </modal.footer>
365
366
  </UkModal>
366
-
@@ -7,7 +7,7 @@
7
7
  {{#if this.displayLandingPage}}
8
8
  <LandingPage />
9
9
  {{else}}
10
- <div class="projects-header">
10
+ <div class="ember-ebau-gwr-projects-header">
11
11
  <div class="uk-padding-small">
12
12
  <LinkedProjects
13
13
  @projects={{this.projects}}
@@ -30,7 +30,7 @@
30
30
  <a
31
31
  class="uk-button uk-button-default"
32
32
  {{! TODO make this configurable}}
33
- href="https://www-r.housing-stat.ch"
33
+ href={{this.config.housingStatLink}}
34
34
  target="_blank"
35
35
  rel="noopener noreferrer"
36
36
  >
@@ -53,7 +53,7 @@
53
53
  <div class="uk-padding-remove">
54
54
  <span
55
55
  uk-icon="icon: question"
56
- uk-tooltip={{this.buildingTabInfoText}}
56
+ uk-tooltip="title: {{this.buildingTabInfoText}}; container: {{this.config.modalContainer}}"
57
57
  ></span>
58
58
  </div>
59
59
  {{/if}}
@@ -13,4 +13,9 @@ export default {
13
13
  },
14
14
  },
15
15
  ...CoordinatesValidation,
16
+ street: {
17
+ description: {
18
+ descriptionLong: validatePresence(true),
19
+ },
20
+ },
16
21
  };
@@ -4,15 +4,35 @@ import {
4
4
  validateFormat,
5
5
  } from "ember-changeset-validations/validators";
6
6
 
7
+ import buildingEntranceValidation from "./building-entrance";
7
8
  import { coordinatesValidation } from "./coordinates";
8
9
 
9
- export default {
10
- kindOfWork: validatePresence(true),
11
- building: {
12
- buildingCategory: validatePresence(true),
13
- ...coordinatesValidation("building"),
14
- neighbourhood: validateNumber({ gte: 1000, allowBlank: true }),
15
- buildingStatus: validatePresence(true),
16
- yearOfDemolition: validateFormat({ regex: /^[0-9]{4}$/, allowBlank: true }),
17
- },
18
- };
10
+ export function buildingWorkValidation(isNew = false) {
11
+ const validations = {
12
+ kindOfWork: validatePresence(true),
13
+ building: {
14
+ buildingCategory: validatePresence(true),
15
+ ...coordinatesValidation("building"),
16
+ neighbourhood: validateNumber({ gte: 1000, allowBlank: true }),
17
+ buildingStatus: validatePresence(true),
18
+ yearOfDemolition: validateFormat({
19
+ regex: /^[0-9]{4}$/,
20
+ allowBlank: true,
21
+ }),
22
+ },
23
+ };
24
+
25
+ const validationsNew = {
26
+ ...validations,
27
+ building: {
28
+ ...validations.building,
29
+ buildingEntrance: {
30
+ ...buildingEntranceValidation,
31
+ },
32
+ },
33
+ };
34
+
35
+ return isNew ? validationsNew : validations;
36
+ }
37
+
38
+ export default buildingWorkValidation();
@@ -19,7 +19,7 @@ export function realestateIdentificationValidation(path = "") {
19
19
  realestateIdentification: {
20
20
  EGRID: validateLength({
21
21
  min: 1,
22
- max: 12,
22
+ max: 14,
23
23
  allowBlank: true,
24
24
  }),
25
25
  number: [
@@ -44,7 +44,7 @@ export default {
44
44
  model: "project",
45
45
  }),
46
46
  ],
47
- nonRealisationDate: [
47
+ cancellationDate: [
48
48
  validatePresenceTransition({
49
49
  presence: true,
50
50
  on: "projectStatus",
@@ -94,7 +94,7 @@ export default {
94
94
  states: [ConstructionProject.STATUS_REFUSED],
95
95
  }),
96
96
  ],
97
- nonRealisationDate: [
97
+ cancellationDate: [
98
98
  validatePresenceState({
99
99
  presence: true,
100
100
  on: "projectStatus",
@@ -48,8 +48,7 @@ export const setToWithdrawnConstructionProject =
48
48
  export const setToCancelledConstructionProject =
49
49
  `{{#>base}}
50
50
  <ns2:setToCancelledConstruction>
51
- {{! TODO check if should be nonRealisationDate and if state is accepted}}
52
- <ns2:cancellationDate>{{echDate model.nonRealisationDate}}</ns2:cancellationDate>
51
+ <ns2:cancellationDate>{{echDate model.cancellationDate}}</ns2:cancellationDate>
53
52
  </ns2:setToCancelledConstruction>
54
53
  {{/base}}`;
55
54
 
@@ -18,10 +18,6 @@ $ember-ebau-gwr-required-color: $alert-danger-color !default;
18
18
  min-height: $spinner-size;
19
19
  }
20
20
 
21
- .uk-highlight-hover:hover {
22
- @extend .uk-text-muted;
23
- }
24
-
25
21
  .ember-ebau-gwr-label-width {
26
22
  width: 120px;
27
23
 
@@ -82,7 +78,7 @@ $ember-ebau-gwr-required-color: $alert-danger-color !default;
82
78
  }
83
79
  }
84
80
 
85
- .projects-header {
81
+ .ember-ebau-gwr-projects-header {
86
82
  @extend .uk-box-shadow-small, .uk-margin-large, .uk-background-muted;
87
83
  border: 1px solid #e5e5e5;
88
84
 
@@ -91,6 +87,29 @@ $ember-ebau-gwr-required-color: $alert-danger-color !default;
91
87
  }
92
88
  }
93
89
 
90
+ .ember-ebau-gwr-import-building-list {
91
+ li:not(.uk-open) {
92
+ @extend .uk-padding-small, .uk-padding-remove-vertical;
93
+ }
94
+
95
+ li.uk-open {
96
+ @extend .uk-box-shadow-small, .uk-padding-small;
97
+
98
+ hr {
99
+ margin: 10px 0;
100
+ }
101
+ }
102
+ }
103
+
104
+ // UIkit adjustments
94
105
  .uk-button-link {
95
106
  text-transform: unset;
96
107
  }
108
+
109
+ .uk-button.disabled {
110
+ @extend .uk-button-default;
111
+ }
112
+
113
+ .uk-highlight-hover:hover {
114
+ @extend .uk-text-muted;
115
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-ebau-gwr",
3
- "version": "2.7.1",
3
+ "version": "3.0.0",
4
4
  "description": "Ember engine to integrate ebau-gwr into an ember app.",
5
5
  "keywords": [
6
6
  "ember-addon",
@@ -19,6 +19,7 @@ ember-gwr:
19
19
  otherWorks: Andere Arbeiten
20
20
 
21
21
  building:
22
+ building: Gebäude
22
23
  title: Gebäude {id} - {status}
23
24
  createNewBuilding: Neues Gebäude erfassen
24
25
 
@@ -29,6 +30,8 @@ ember-gwr:
29
30
  entrances:
30
31
  error: Beim Laden der Eingänge ist ein Fehler aufgetreten.
31
32
  removeLinkError: Beim Entfernen der Verknüpfung ist ein Fehler aufgetreten.
33
+ attachedDwellingsError: Alle verknüpften Wohnungen müssen deaktiviert werden bevor der Eingang entfernt werden kann.
34
+ removeLinkSuccess: "Ihre Anfrage wurde vom BfS erfasst. Das Support-Team wird Ihre Anfrage bearbeiten und Sie, falls nötig kontaktieren. Telefon: 0800 866 600 E-mail: housing-stat@bfs.admin.ch"
32
35
  dwellings:
33
36
  entrance: Eingang {number}
34
37
  rooms: "{number} Zimmer"
@@ -276,3 +279,7 @@ ember-gwr:
276
279
  name:
277
280
  nameLong: Ortsname
278
281
 
282
+ buildingEntrance:
283
+ mainEntrance: Haupteingang
284
+ info: Sie können nach der Erstellung des Gebäudes weitere Eingänge hinzufügen.
285
+
@@ -9,17 +9,8 @@ ember-gwr:
9
9
  saveSuccess: Eingang erfolgreich gespeichert.
10
10
  loadingError: Beim Laden des Eingangs ist ein Fehler aufgetreten.
11
11
  street: Strasse
12
- streetHint: Um einen Eingang zu erfassen müssen Sie zuerst eine Strasse verknüpfen.
13
12
  coordinates: Koordinaten
14
13
 
15
- linkStreet:
16
- change: Strasse ändern
17
- link: Strasse verknüpfen
18
- heading: Strasse verknüpfen
19
- search: Strasse suchen
20
- linkSuccess: Strasse erfolgreich verknüpft.
21
- linkError: Bei der Verknüpfung der Strasse ist ein Fehler aufgetreten.
22
-
23
14
  fields:
24
15
  EDID: EDID
25
16
  EGAID: EGAID
@@ -44,7 +35,7 @@ ember-gwr:
44
35
  isOfficialDescription: Strassenbezeichnung offiziell
45
36
  officialStreetNumber: Amtliche Strassennummer
46
37
  streetKind: Art der Strasse
47
- streetKindPlaceholder: Wählen Sie einen Status aus...
38
+ streetKindPlaceholder: Wählen Sie eine Art aus...
48
39
  streetKindOptions:
49
40
  9801: Strasse (Linienobjekt)
50
41
  9802: Platz (Punktobjekt)
@@ -55,6 +46,7 @@ ember-gwr:
55
46
  description:
56
47
  descriptionLong: Strassenname
57
48
  locality:
49
+ locality: Ortschaft
58
50
  swissZipCode: PLZ
59
51
  swissZipCodeAddOn: Postleitzahl-Zusatzziffer
60
52
  name:
@@ -21,7 +21,7 @@ ember-gwr:
21
21
  projectCompletionDate: Datum Bauende
22
22
  projectSuspensionDate: Datum Sistierung
23
23
  constructionAuthorisationDeniedDate: Datum Ablehnung
24
- nonRealisationDate: Datum Nichtrealisierung
24
+ cancellationDate: Datum Nichtrealisierung
25
25
  withdrawalDate: Datum Rückzung des Baugesuchs
26
26
  projectFreeText1: Freitext Project 1
27
27
  projectFreeText2: Freitext Project 2
@@ -242,6 +242,7 @@ ember-gwr:
242
242
  importData: Importierte Daten
243
243
  apply: Übernehmen
244
244
  resolved: Alle Konflikte sind gelöst. Klicken Sie Speichern um die Änderungen zu übernehmen!
245
+ cancel: Verwerfen
245
246
 
246
247
  project:
247
248
  title: Bauprojekt {id}
@@ -249,11 +250,11 @@ ember-gwr:
249
250
  confirmationTitle: Achtung
250
251
  confirmationContinue: Fortfahren
251
252
  confirmationCancel: Abbrechen
252
- confirmationSuperstructure: |-
253
- Wenn Sie von einem Tiefbauprojekt in ein Hochbauprojekt wechseln,
253
+ confirmationSuperstructure: |-
254
+ Wenn Sie von einem Tiefbauprojekt in ein Hochbauprojekt wechseln,
254
255
  werden alle verknüpfte Arbeiten gelöscht. Wollen Sie fortfahren?
255
256
  confirmationInfrastructure: |-
256
- Wenn Sie von einem Hochbauprojekt in ein Tiefbauprojekt wechseln,
257
+ Wenn Sie von einem Hochbauprojekt in ein Tiefbauprojekt wechseln,
257
258
  werden alle verknüpften Gebäude gelöscht. Wollen Sie fortfahren?
258
259
 
259
260
  building:
@@ -301,3 +302,17 @@ ember-gwr:
301
302
  issues: Offene Pendenzen für {modelName} {modelId}
302
303
  noIssues: Keine offenen Pendenzen für {modelName} {modelId}
303
304
  linkIssues: Zur kompletten Pendenzenliste für Bauprojekt {projectId}
305
+
306
+ linkStreet:
307
+ missingLocalityHint: Bitte geben Sie zuerst einen Ortsnamen ein.
308
+ change: Strasse ändern
309
+ link: Strasse verknüpfen
310
+ heading: Strasse verknüpfen
311
+ search: Strasse suchen
312
+ linkSuccess: Strasse erfolgreich verknüpft.
313
+ linkError: Bei der Verknüpfung der Strasse ist ein Fehler aufgetreten.
314
+ streetHint: Um einen Eingang zu erfassen müssen Sie eine Strasse verknüpfen.
315
+ localityHint: Der Ortsname des Eingangs und der Strasse müssen übereinstimmen.
316
+
317
+ importModal:
318
+ selectImportData: Importdaten auswählen
@@ -1,5 +1,6 @@
1
1
  ember-gwr:
2
2
  dwelling:
3
+ dwelling: Wohnung
3
4
  title: Wohnung {id}
4
5
  createNewDwelling: Neue Wohnung erfassen
5
6
  usage:
@@ -26,6 +27,7 @@ ember-gwr:
26
27
  3004: Bestehend
27
28
  3005: Nicht nutzbar
28
29
  3007: Aufgehoben
30
+ 3008: Nicht realisiert
29
31
  administrativeDwellingNo: Administrative Wohnungsnummer
30
32
  yearOfConstruction: Baujahr der Wohnung
31
33
  yearOfDemolition: Abbruchjahr der Wohnung
@@ -42,6 +44,7 @@ ember-gwr:
42
44
  surfaceAreaOfDwelling: Wohnungsfläche
43
45
 
44
46
  dwellingUsage:
47
+ dwellingUsage: Wohnungsnutzung
45
48
  usageCode: Nutzungsart der Wohnung
46
49
  usageCodePlaceholder: Wählen Sie eine Nutzungsart aus...
47
50
  usageCodeOptions: