Juan Carlos 4 anni fa
parent
commit
3c23867590
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. 3 2
      marktplatz/templates/marktplatz/product_detail.html

+ 3 - 2
marktplatz/templates/marktplatz/product_detail.html

@@ -203,7 +203,7 @@
 					<p>{{ product.wohnprojekt.artmodell }}</p>
 					<p>{% if product.wohnprojekt.orga  %}<strong>{% field_name product.wohnprojekt 'orga' %}</strong>: {{ product.wohnprojekt.orga }}{% endif %}</p>
 					<p>{% if product.wohnprojekt.eigentum  %}<strong>{% field_name product.wohnprojekt 'eigentum' %}</strong>: {{ product.wohnprojekt.get_eigentum_display }}{% endif %}</p>
-					<p><strong>Gemeinschaftliche Projekte</strong>: {{ product.wohnprojekt.gprojekte }}</p>
+					<p>{% if product.wohnprojekt.gprojekte  %}<strong>Gemeinschaftliche Projekte</strong>: {{ product.wohnprojekt.gprojekte }}{% endif %}</p>
 					<p><strong>Gemeinschaftsräume</strong>: {{ product.wohnprojekt.gemeinschaftr }}
 						{% if product.wohnprojekt.kgemeinschaftr  %}, {{ product.wohnprojekt.kgemeinschaftr }}{% endif %}
 					</p>
@@ -233,7 +233,8 @@
 			    <p>{% if product.wohnprojekt.sonstige_flaechen  %}<strong>{% field_name product.wohnprojekt 'sonstige_flaechen' %}:</strong>  {{ product.wohnprojekt.sonstige_flaechen }} m<sup>2</sup>{% endif %}</p>
 			    <p>{% if product.wohnprojekt.flaeche  %}<strong>Fläche:</strong>  {{ product.wohnprojekt.flaeche }} m<sup>2</sup>{% endif %}</p>
 					<p>{% if product.wohnprojekt.kflaechen  %}<strong>{% field_name product.wohnprojekt 'kflaechen' %}:</strong>  {{ product.wohnprojekt.kflaechen }} m<sup>2</sup>{% endif %}</p>
-					<p>Im Haus arbeiten ca {{ product.wohnprojekt.parbeiten }} Personen {% if product.wohnprojekt.karbeiten  %}{{ product.wohnprojekt.karbeiten }}{% endif %}</p>
+					<p>{% if product.wohnprojekt.parbeiten  %}Im Haus arbeiten ca {{ product.wohnprojekt.parbeiten }} Personen.{% endif %}
+						{% if product.wohnprojekt.karbeiten  %}{{ product.wohnprojekt.karbeiten }}{% endif %}</p>
 					<p>{% if product.wohnprojekt.raumangebot  %}<strong>{% field_name product.wohnprojekt 'raumangebot' %}:</strong>  {{ product.wohnprojekt.raumangebot }}{% if product.wohnprojekt.kraumangebot  %},
 						{{ product.wohnprojekt.kraumangebot }}
 						{% endif %}