| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368 |
- {% extends "base_generic.html" %}
- {% load fullurl %}
- {% load tags %}
- {% load static %}
- {% load email_obfuscator %}
- {% block script %}
- <link href="{% static 'featherlight.min.css' %}" type="text/css" rel="stylesheet" />
- <script src="{% static 'featherlight.min.js' %}"></script>
- <link href="{% static 'featherlight.gallery.min.css' %}" type="text/css" rel="stylesheet" />
- <script src="{% static 'featherlight.gallery.min.js' %}"></script>
- <script>
- $(document).ready(function() {
- $('.gallery').featherlightGallery({
- previousIcon: '«',
- nextIcon: '»',
- galleryFadeIn: 250,
- openSpeed: 250,
- });
- });
- </script>
- <style>
- .image-detail {
- margin: 40px 60px 40px 0px;
- }
- .product-text strong {
- font-weight: bolder;
- font: "NeuzeitGro-Bla", sans-serif;
- }
- .product-text {
- line-height: 1.2;
- color: #000;
- }
- .product-text h1,
- h2,
- h3,
- h4,
- h5 {
- color: #469CA8;
- }
- .product-color {
- color: #469CA8;
- }
- .titlepro {
- margin-top: 40px;
- font-family: NeuzeitGro-Bla;
- }
- @media (min-width: 500px) {}
- </style>
- {% endblock %}
- {% block content %}
- <!-- <hr style="color: black; background-color: black; margin-top: 0px; width: 130%; display: flex; margin-left: -20px; margin-right:20px "> -->
- <div class="container " style="">
- <div class="row gemain-color product-text">
- <div class="col-sm-6">
- <h1 class="titlepro" style="">{{ product.name }}</h1>
- <p class="lead kur">{% if product.claim %}{{ product.claim }}{% endif %}</p>
- <div class="row product-color">
- <div class="col-sm-4">{% include "marktplatz/modal-share.html" %}</div>
- <div class="col-sm-4"> {% include "marktplatz/modal-sa.html" %}</div>
- <div class="col-sm-4">{% if product.wohnprojekt.email %} {{ product.wohnprojekt.email | obfuscate_mailto:'<i class="fas fa-envelope"></i> Email' }}{% endif %}</div>
- </div>
- <div class="">
-
- </div>
- <div class="">
-
- </div>
- <div class="">
-
- </div>
- <div class="">
-
- </div>
- <div class="">
- <p><strong>Wohnungsangebot</strong>:<br>
- {% if product.frei == 'JAJA' %}
- Wohnung frei.
- {% if product.kfrei %}
- {{ product.kfrei }}
- {% if product.wohnprojekt.email %}<p>{{ product.wohnprojekt.email | obfuscate_mailto:'<i class="fas fa-envelope"></i> Email' }}</p>{% endif %}
- {% endif %}
- {% endif %}
- {% if product.frei == 'WART' %}
- Wir haben derzeit keine Wohnung frei, aber wir melden uns, wenn etwas frei wird. Aktiviere die Benachrichtigung!
- {% endif %}
- {% if product.frei == 'NEIN' %}
- Wir haben derzeit keine Wohnung und führen auch keine Warteliste, auf die du dich setzen lassen kannst.
- {% endif %}
- </p>
- </div>
- <!-- <div class="">
- {{ product.mitmachen }}
- </div> -->
- <p>{% if product.wohnprojekt.inseratstext %}<strong>{% field_name product.wohnprojekt 'inseratstext' %}</strong>:<br>{{ product.wohnprojekt.inseratstext }} {% if product.wohnprojekt.email %}<p>{{ product.wohnprojekt.email | obfuscate_mailto:'<i class="fas fa-envelope"></i> Email' }}</p>{% endif %}{% endif %}</p>
- <div class="">
-
- </div>
- <p class="">{% if product.beschreibung %}<strong>{% field_name product.wohnprojekt 'beschreibung' %}</strong>:<br>{{ product.beschreibung | safe | linebreaks }}{% endif %}</p>
- <p class="">{% if product.learning %}<strong>{% field_name product.wohnprojekt 'learning' %}</strong>:<br>{{ product.learning | safe | linebreaks }}{% endif %}</p>
- <div class="">
-
- </div>
- <div class="">
-
- </div>
- {% for video in product.video_set.all %}
- <video autoplay style="width: 100%;height: auto;vertical-align: middle; padding-bottom: 10px" controls>
- <source src="{{video.image.url}}" type="video/mp4">
- </video>
- {% endfor %}
- {% if product.media_set %}
- {% for media in product.media_set.all %}
- {% if not forloop.first %}
- {% if forloop.counter < 6 %}
- <div class="image-detail" style="flex: {% get_ratio media %}; ">
- <img href="{{media.image_big.url}}" src="{{media.image_norm.url }}" class="gallery img-fluid img-responsive" alt="" style="width: 100%;height: auto;vertical-align: middle;">
- </div>
- {% endif %}
- {% endif %}
- {% endfor %}
- {% endif %}
- </div>
- <!-- *************************************************************** -->
- <div class="col-sm-6">
- <div class="image-detail" style="">
- <img href="{{product.media_set.first.image_big.url}}" src="{{product.media_set.first.image_norm.url }}" class="gallery img-fluid img-responsive" alt="" style="width: 100%;height: auto;vertical-align: middle;">
- </div>
- <br />
- <h5 class=" mediumkur">Steckbrief</h5>
- <br />
- <p>{{ product.wohnprojekt.kind_of_product }}, gegründet {{ product.wohnprojekt.gruendungsjahr }}{% if product.wohnprojekt.betriebgenommen %}, in Betrieb genommen: {{ product.wohnprojekt.betriebgenommen }}{% endif %}.</p>
- <p><strong>Rechtsform</strong>: {{ product.wohnprojekt.rechtsform }}</p>
- <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>{% 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>
- <p>{% if product.wohnprojekt.sonderwohnformen %}<strong>{% field_name product.wohnprojekt 'sonderwohnformen' %}</strong>: {{ product.wohnprojekt.sonderwohnformen }}{% endif %}</p>
- <p>{% if product.wohnprojekt.zielgruppen %}<strong>Besondere Zielgruppen</strong>: {{ product.wohnprojekt.zielgruppen }}{% endif %}</p>
- <p>{% if product.wohnprojekt.freiraumangebote %}<strong>Freiraumangebote</strong>: {{ product.wohnprojekt.freiraumangebote }}{% endif %}</p>
- <p>{% if product.wohnprojekt.oekologie %}<strong>{% field_name product.wohnprojekt 'oekologie' %}</strong>: {{ product.wohnprojekt.oekologie }}{% endif %}</p>
- <p>{% if product.wohnprojekt.schwerpunkt %}<strong>{% field_name product.wohnprojekt 'schwerpunkt' %}</strong>: {{ product.wohnprojekt.schwerpunkt }}{% endif %}</p>
- <br />
- <h5 class=" mediumkur">Kenndaten</h5>
- <br />
- <p>{{ product.wohnprojekt.get_altneu_display }}, {{ product.wohnprojekt.bauweise }}</p>
- <p><strong>Bauträger</strong>: {{ product.wohnprojekt.bautraeger }}</p>
- <p>{% if product.wohnprojekt.architektur %}<strong>{% field_name product.wohnprojekt 'architektur' %}:</strong> {{ product.wohnprojekt.architektur }}{% endif %}</p>
- <p>{% if product.wohnprojekt.wohnbaufoerderung %}<strong>{% field_name product.wohnprojekt 'wohnbaufoerderung' %}:</strong> {{ product.wohnprojekt.wohnbaufoerderung }}{% endif %}</p>
- <p>im Haus Wohnen ca {{ product.wohnprojekt.aerwachsene }} Erwachsene und {{ product.wohnprojekt.akinder }} Kinder.
- Anzahl der Mitglieder: {{ product.wohnprojekt.amitglieder }}
- </p>
- <p>{% if product.wohnprojekt.awohnungen %}<strong>{% field_name product.wohnprojekt 'awohnungen' %}:</strong> {{ product.wohnprojekt.awohnungen }} Wohnungen{% endif %}</p>
- <p>{% if product.wohnprojekt.gaestwohnungen %}<strong>{% field_name product.wohnprojekt 'gaestwohnungen' %}:</strong> {{ product.wohnprojekt.gaestwohnungen }}{% endif %}</p>
- <p>{% if product.wohnprojekt.wohnflaeche %}<strong>{% field_name product.wohnprojekt 'wohnflaeche' %}:</strong> {{ product.wohnprojekt.wohnflaeche }} m<sup>2</sup>{% endif %}</p>
- <p>{% if product.wohnprojekt.gewerbeflaechen %}<strong>{% field_name product.wohnprojekt 'gewerbeflaechen' %}:</strong> {{ product.wohnprojekt.gewerbeflaechen }} m<sup>2</sup>{% endif %}</p>
- <p>{% if product.wohnprojekt.gemeinschaftsflaeche %}<strong>{% field_name product.wohnprojekt 'gemeinschaftsflaeche' %}:</strong> {{ product.wohnprojekt.gemeinschaftsflaeche }} m<sup>2</sup>{% endif %}</p>
- <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>{% field_name product.wohnprojekt 'flaeche' %}:</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>{% 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 %}
- {% endif %}</p>
- <!-- <p>{% if product.wohnprojekt.kraumangebot %}<strong>{% field_name product.wohnprojekt 'kraumangebot' %}:</strong> {{ product.wohnprojekt.kraumangebot }}{% endif %}</p> -->
- <br />
- <h5 class=" mediumkur">Kontakt</h5>
- <br />
- <p>{{ product.wohnprojekt.adresse }}, {{ product.wohnprojekt.get_ort_display }}</p>
- <div class="row">
- <div class="col-sm-4">
- {% if product.wohnprojekt.email %}<p>{{ product.wohnprojekt.email | obfuscate_mailto:'<i class="fas fa-envelope"></i> Email' }}</p>{% endif %}
- </div>
- <div class="col-sm-8">
- {% if product.wohnprojekt.email %}<p><a href="mailto:{{ product.wohnprojekt.email | obfuscate }}" >{{ product.wohnprojekt.email | obfuscate }}</a></p>{% endif %}
- </div>
- </div>
- <div class="row">
- <div class="col-sm-4">
- {% if product.wohnprojekt.website %}<p><a href="{{ product.wohnprojekt.website }}" target="_blank" rel="noopener">Webseite</a></p>{% endif %}
- </div>
- <div class="col-sm-8">
- {% if product.wohnprojekt.website %}<p><a href="{{ product.wohnprojekt.website }}" target="_blank" rel="noopener">{{ product.wohnprojekt.website }}</a></p>{% endif %}
- </div>
- </div>
- <br />
- <h5 class="mediumkur">Mediacredits</h5>
- <br />
- {% for media in product.media_set.all %}
- {% if media.copyright %}
- <p class="fieldname"> {{ media.copyright }}</p>
- {% endif %}
- {% endfor %}
- {% for media in product.video_set.all %}
- {% if media.copyright %}
- <p class="fieldname"> {{ media.copyright }}</p>
- {% endif %}
- {% endfor %}
- {% if product.media_set %}
- {% for media in product.media_set.all %}
- {% if forloop.counter > 5 %}
- <div style="flex: {% get_ratio media %}; margin:40px 60px 40px 0px;">
- <img href="{{media.image_big.url}}" src="{{media.image_norm.url }}" class="gallery img-fluid img-responsive" alt="" style="width: 100%;height: auto;vertical-align: middle;">
- </div>
- {% endif %}
- {% endfor %}
- {% endif %}
- <!-- <p>{% if product.wohnprojekt.altneu %}{% field_name product.wohnprojekt 'altneu' %}: {{ product.wohnprojekt.altneu }}{% endif %}</p> -->
- <!-- <p>{% if product.wohnprojekt.artmodell %}{% field_name product.wohnprojekt 'artmodell' %}: {{ product.wohnprojekt.artmodell }}{% endif %}</p> -->
- <!-- <p>{% if product.wohnprojekt.bautraeger %}{% field_name product.wohnprojekt 'bautraeger' %}: {{ product.wohnprojekt.bautraeger }}{% endif %}</p> -->
- <!-- <p>{% if product.wohnprojekt.aerwachsene %}{% field_name product.wohnprojekt 'aerwachsene' %}: {{ product.wohnprojekt.aerwachsene }}{% endif %}</p>
- <p>{% if product.wohnprojekt.akinder %}{% field_name product.wohnprojekt 'akinder' %}: {{ product.wohnprojekt.akinder }}{% endif %}</p>
- <p>{% if product.wohnprojekt.amitglieder %}Anzahl an Mitglieder: {{ product.wohnprojekt.amitglieder }}{% endif %}</p> -->
- <!-- <p>{% if product.wohnprojekt.awohnungen %}{% field_name product.wohnprojekt 'awohnungen' %}: {{ product.wohnprojekt.awohnungen }}{% endif %}</p> -->
- <!-- <p>{% if product.wohnprojekt.wohnflaeche %}{% field_name product.wohnprojekt 'wohnflaeche' %}: {{ product.wohnprojekt.wohnflaeche }}{% endif %}</p>
- <p>{% if product.wohnprojekt.gewerbeflaechen %}{% field_name product.wohnprojekt 'gewerbeflaechen' %}: {{ product.wohnprojekt.gewerbeflaechen }}{% endif %}</p>
- <p>{% if product.wohnprojekt.gemeinschaftsflaeche %}{% field_name product.wohnprojekt 'gemeinschaftsflaeche' %}: {{ product.wohnprojekt.gemeinschaftsflaeche }}{% endif %}</p>
- <p>{% if product.wohnprojekt.sonstige_flaechen %}{% field_name product.wohnprojekt 'sonstige_flaechen' %}: {{ product.wohnprojekt.sonstige_flaechen }}{% endif %}</p>
- <p>{% if product.wohnprojekt.flaeche %}Fläche: {{ product.wohnprojekt.flaeche }}{% endif %}</p> -->
- <!-- <p>{% if product.wohnprojekt.gemeinschaftr %}{% field_name product.wohnprojekt 'gemeinschaftr' %}: {{ product.wohnprojekt.gemeinschaftr }}{% endif %}</p> -->
- <!-- <p>{% if product.wohnprojekt.kgemeinschaftr %}{% field_name product.wohnprojekt 'kgemeinschaftr' %}: {{ product.wohnprojekt.kgemeinschaftr }}{% endif %}</p> -->
- <!-- <p>{% if product.wohnprojekt.sonderwohnformen %}{% field_name product.wohnprojekt 'sonderwohnformen' %}: {{ product.wohnprojekt.sonderwohnformen }}{% endif %}</p> -->
- <!-- <p>{% if product.wohnprojekt.parbeiten %}{% field_name product.wohnprojekt 'parbeiten' %}: {{ product.wohnprojekt.parbeiten }}{% endif %}</p> -->
- <!-- <p>{% if product.wohnprojekt.bauweise %}{% field_name product.wohnprojekt 'bauweise' %}: {{ product.wohnprojekt.bauweise }}{% endif %}</p> -->
- <!-- <p>{% if product.wohnprojekt.zielgruppen %}{% field_name product.wohnprojekt 'zielgruppen' %}: {{ product.wohnprojekt.zielgruppen }}{% endif %}</p> -->
- <!-- <p>{% if product.wohnprojekt.gprojekte %}{% field_name product.wohnprojekt 'gprojekte' %}: {{ product.wohnprojekt.gprojekte }}{% endif %}</p> -->
- <!-- <p>{% if product.wohnprojekt.oekologie %}{% field_name product.wohnprojekt 'oekologie' %}: {{ product.wohnprojekt.oekologie }}{% endif %}</p> -->
- <!-- <p>{% if product.wohnprojekt.freiraumangebote %}{% field_name product.wohnprojekt 'freiraumangebote' %}: {{ product.wohnprojekt.freiraumangebote }}{% endif %}</p> -->
- </div>
- </div>
- </div>
- <div class="container">
- <div class="row" style="margin-top: 10px">
- <div class="col-sm-6">
- </div>
- <div class="col-sm-4">
- {% for field, value in product.wohnprojekt %}
- {% if value and not field == "ID" %}
- <!-- <p class="fieldname"><strong class="mediumkur"> {{ field }} :</strong> {{ value }}</p> -->
- {% endif %}
- {% endfor %}
- </div>
- </div>
- </div>
- {% endblock %}
|