... | ... |
@@ -36,6 +36,9 @@ |
36 | 36 |
<trans-unit id="MSC.re_description"> |
37 | 37 |
<source>Objektbeschreibung</source> |
38 | 38 |
</trans-unit> |
39 |
+ <trans-unit id="MSC.re_managed_property_info"> |
|
40 |
+ <source>Gebäudeinformationen</source> |
|
41 |
+ </trans-unit> |
|
39 | 42 |
<trans-unit id="MSC.re_deadline"> |
40 | 43 |
<source>Bewerbungsschluss</source> |
41 | 44 |
</trans-unit> |
... | ... |
@@ -33,6 +33,9 @@ |
33 | 33 |
<trans-unit id="MSC.re_description"> |
34 | 34 |
<source>Objektbeschreibung</source> |
35 | 35 |
</trans-unit> |
36 |
+ <trans-unit id="MSC.re_managed_property_info"> |
|
37 |
+ <source>Gebäudeinformationen</source> |
|
38 |
+ </trans-unit> |
|
36 | 39 |
<trans-unit id="MSC.re_deadline"> |
37 | 40 |
<source>Bewerbungsschluss</source> |
38 | 41 |
</trans-unit> |
... | ... |
@@ -386,6 +386,52 @@ |
386 | 386 |
columnGap: {{ 5|mm2pt }}, |
387 | 387 |
unbreakable: true |
388 | 388 |
}, |
389 |
+ {% if item.hasProperty %} |
|
390 |
+ { |
|
391 |
+ text: '{{ 'MSC.re_managed_property_info'|trans({}, 'contao_default') }}', |
|
392 |
+ style: 'h3', |
|
393 |
+ pageBreak: 'before' |
|
394 |
+ }, |
|
395 |
+ { |
|
396 |
+ table: { |
|
397 |
+ widths: ['*'], |
|
398 |
+ body: [ |
|
399 |
+ [ |
|
400 |
+ { |
|
401 |
+ columns: [ |
|
402 |
+ { |
|
403 |
+ stack: [ |
|
404 |
+ {% if item.property.description %} |
|
405 |
+ { |
|
406 |
+ text: '{{ item.property.description|raw|striptags|replace({ '\r\n': '\\r\\n', '\n': '\\n', '\r': '\\r' }) }}', |
|
407 |
+ margin: [0, 0, 0,0], |
|
408 |
+ } |
|
409 |
+ {% endif %} |
|
410 |
+ ], |
|
411 |
+ width: '*' |
|
412 |
+ }, |
|
413 |
+ { |
|
414 |
+ stack: [ |
|
415 |
+ { |
|
416 |
+ image: '{{ item.teaserFigure.getImage().getFilePath()|imageDataUrl }}', |
|
417 |
+ fit: [{{ 85|mm2pt }},{{ 85|mm2pt }}], |
|
418 |
+ alignment: 'right' |
|
419 |
+ } |
|
420 |
+ ], |
|
421 |
+ width: '*' |
|
422 |
+ } |
|
423 |
+ ], |
|
424 |
+ margin: [15, 10, 15, 10], |
|
425 |
+ columnGap: {{ 5|mm2pt }} |
|
426 |
+ } |
|
427 |
+ ] |
|
428 |
+ ] |
|
429 |
+ }, |
|
430 |
+ fillColor: '#e6ebf1', |
|
431 |
+ layout: 'noBorders', |
|
432 |
+ margin: [0, 0, 0,{{ 8|mm2pt }}], |
|
433 |
+ }, |
|
434 |
+ {% endif %} |
|
389 | 435 |
{% if item.floorPlansFigures|length > 0 %} |
390 | 436 |
{ |
391 | 437 |
text: '{{ 'MSC.re_floorPlan'|trans({}, 'contao_default') }}', |
... | ... |
@@ -43,7 +43,7 @@ |
43 | 43 |
{{ _self.backgroundWrapper_close }} |
44 | 44 |
|
45 | 45 |
{{ _self.backgroundWrapper_open('-alt-color-1 -width-small -padding-medium') }} |
46 |
- <h3>Wohnungsinformationen</h3> |
|
46 |
+ <h3>Informationen</h3> |
|
47 | 47 |
<div class="expose-facts"> |
48 | 48 |
<ul class="expose-facts-costs"> |
49 | 49 |
{% if item.coldRent > 0 %}{{ _self.listEntry('tl_vr_real_estate_assets.coldRent.0'|trans({}, 'contao_default'),item.coldRent|number_format(2, ',', ''),{ append: ' €'}) }}{% endif %} |
... | ... |
@@ -125,7 +125,7 @@ |
125 | 125 |
|
126 | 126 |
{% if item.hasProperty %} |
127 | 127 |
{{ _self.backgroundWrapper_open('-padding-medium') }} |
128 |
- <h3>Objektinformationen</h3> |
|
128 |
+ <h3>Gebäudeinformationen</h3> |
|
129 | 129 |
<div class="property-description"> |
130 | 130 |
{% if item.property.description %} |
131 | 131 |
<div class="description">{{ item.property.description|raw }}</div> |