ソースを参照

changed steckbrief in overview

Juan Carlos 3 年 前
コミット
ba5283f5d0
1 ファイル変更21 行追加4 行削除
  1. 21 4
      marktplatz/templates/marktplatz/product_overview.html

+ 21 - 4
marktplatz/templates/marktplatz/product_overview.html

@@ -211,7 +211,6 @@ $(document).ready(function(){
   .toggle-overflow {
 
     overflow: auto;
-    /* z-index: 2; */
   }
 
   .toggle-zindex {
@@ -428,12 +427,30 @@ $(document).ready(function(){
                     <h3> {{ product.name }}</h3>
                   </div>
                   <button id='product_{{product.pk}}_flipper_back' onclick="" class="border-thin mybtn " data-flip-card="product_{{product.pk}}_card" style=""><i class="fas fa-sync-alt"></i> Steckbrief</button>
-                  <div class="" style=""><span>{{ product.beschreibung | safe }}</span></div>
+                  <p>&nbsp;</p>
+                  <p>{{ product.kind_of_product }}, gegründet {{ product.gruendungsjahr }}{% if product.betriebgenommen  %}, in Betrieb genommen: {{ product.betriebgenommen }}{% endif %}.</p>
+            			<p><strong>Rechtsform</strong>: {{ product.rechtsform }}</p>
+            			<!-- XXX -->
+            			<p>{{ product.artmodell }}</p>
+            			<p>{% if product.orga  %}<strong>{% field_name product 'orga' %}</strong>: {{ product.orga }}{% endif %}</p>
+            			<!-- XXX -->
+            			<p>{% if product.eigentum  %}<strong>{% field_name object 'eigentum' %}</strong>: {{ product.get_eigentum_display }}{% endif %}</p>
+            			<!-- XXX -->
+            			<p>{% if product.gprojekte  %}<strong>Gemeinschaftliche Projekte</strong>: {{ product.gprojekte }}{% endif %}</p>
+
+            			<p>{% if product.zielgruppen  %}<strong>Besondere Zielgruppen</strong>: {{ product.zielgruppen }}{% endif %}</p>
+            			<p>{% if product.freiraumangebote  %}<strong>Freiraumangebote</strong>: {{ product.freiraumangebote }}{% endif %}</p>
+            			<p>{% if product.oekologie  %}<strong>{% field_name object 'oekologie' %}</strong>: {{ product.oekologie }}{% endif %}</p>
+            			<p>{% if product.schwerpunkt  %}<strong>{% field_name object 'schwerpunkt' %}</strong>: {{ product.schwerpunkt }}{% endif %}</p>
+
+                  <!-- <div class="" style=""><span>{{ product.beschreibung | safe }}</span></div>
                   <div class="" style=""><strong>Wohnungen:</strong> <span>{{ product.awohnungen }}</span></div>
                   <div class="" style=""><span>{% if product.gemeinschaftr  %}<strong>{% field_name product 'gemeinschaftr' %}:</strong> {{  product.gemeinschaftr  }}{% endif %}</span></div>
                   <div class="" style=""><span>{% if product.kgemeinschaftr  %}<strong>{% field_name product 'kgemeinschaftr' %}:</strong> {{  product.kgemeinschaftr  }}{% endif %}</span></div>
-                  <div class="" style=""><span>{% if product.claim  %}<strong>{% field_name product 'claim' %}:</strong> {{  product.claim  }}{% endif %}</span></div>
-                  <span></span>
+                  <div class="" style=""><span>{% if product.claim  %}<strong>{% field_name product 'claim' %}:</strong> {{  product.claim  }}{% endif %}</span></div> -->
+
+
+                  <p>&nbsp;</p>
 
                 </div>
               </div>