| ... | ... |
@@ -39,7 +39,7 @@ |
| 39 | 39 |
|
| 40 | 40 |
{{ _self.backgroundWrapper_open('-padding-medium') }}
|
| 41 | 41 |
<p class="overviewLink"><a class="btn btn-outline-primary" href="{{ item.listUrl }}">Zurück zur Übersicht</a></p>
|
| 42 |
- <h1>{{ item.title }}{% if item.city %} in {{ item.city }}{% endif %}</h1>
|
|
| 42 |
+ <h1>{{ item.title }}{% if item.city %} in {% if item.hasProperty %}{{ item.property.city }}{% else %}{{ item.city }}{% endif %}{% endif %}</h1>
|
|
| 43 | 43 |
{{ _self.backgroundWrapper_close }}
|
| 44 | 44 |
|
| 45 | 45 |
{{ _self.backgroundWrapper_open('-alt-color-1 -width-small -padding-medium') }}
|
| ... | ... |
@@ -96,8 +96,13 @@ |
| 96 | 96 |
<ul> |
| 97 | 97 |
<li> |
| 98 | 98 |
<span class="label">Adresse:</span> |
| 99 |
- {% if item.address is not empty %}{{ item.address }}<br>{% endif %}
|
|
| 100 |
- {% if item.postal is not empty and item.city is not empty %}{{ item.postal }} {{ item.city }}<br>{% endif %}
|
|
| 99 |
+ {% if item.hasProperty %}
|
|
| 100 |
+ {% if item.property.address is not empty %}{{ item.property.address }}<br>{% endif %}
|
|
| 101 |
+ {% if item.property.postal is not empty and item.property.city is not empty %}{{ item.property.postal }} {{ item.property.city }}<br>{% endif %}
|
|
| 102 |
+ {% else %}
|
|
| 103 |
+ {% if item.address is not empty %}{{ item.address }}<br>{% endif %}
|
|
| 104 |
+ {% if item.postal is not empty and item.city is not empty %}{{ item.postal }} {{ item.city }}<br>{% endif %}
|
|
| 105 |
+ {% endif %}
|
|
| 101 | 106 |
</li> |
| 102 | 107 |
</ul> |
| 103 | 108 |
{% if item.pdfUrl is not empty %}
|