|
|
@@ -22,30 +22,6 @@ $(document).ready(function(){
|
|
|
|
|
|
});
|
|
|
|
|
|
-
|
|
|
- {% for country in count_list %}
|
|
|
-
|
|
|
- {% if country %}
|
|
|
-/*
|
|
|
- $("[id='{{country.code}}']").click(function(){
|
|
|
- $(".card").show();
|
|
|
- $("button").removeClass("mark");
|
|
|
-
|
|
|
- $(".card").not(".{{country.code}}").hide();
|
|
|
- $("[id='{{country.code}}']").addClass("mark");
|
|
|
-
|
|
|
- if($(".card").filter(":visible").length < 1){
|
|
|
- $("#how").fadeIn(200)
|
|
|
- } else{
|
|
|
- $("#how").fadeOut(10)
|
|
|
- }
|
|
|
-
|
|
|
- });
|
|
|
-*/
|
|
|
- {% endif %}
|
|
|
-
|
|
|
- {% endfor %}
|
|
|
-
|
|
|
{% for year in year_list %}
|
|
|
/*
|
|
|
$("[id='{{year}}']").click(function(){
|
|
|
@@ -65,28 +41,6 @@ $(document).ready(function(){
|
|
|
*/
|
|
|
{% endfor %}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
- {% for key, value in ort_dict.items %}
|
|
|
- /*
|
|
|
- $(".{{ key }}").click(function(){
|
|
|
- $(".card").show();
|
|
|
- $("button").removeClass("mark");
|
|
|
-
|
|
|
- $(".card").not(".{{ key }}").hide();
|
|
|
- $("button .{{ key }}").addClass("mark");
|
|
|
-
|
|
|
- if($(".card").filter(":visible").length < 1){
|
|
|
- $("#how").fadeIn(200)
|
|
|
- } else{
|
|
|
- $("#how").fadeOut(10)
|
|
|
- }
|
|
|
-
|
|
|
- });
|
|
|
- */
|
|
|
-
|
|
|
- {% endfor %}
|
|
|
-
|
|
|
$(".btn-toggle").click (function(elem){
|
|
|
|
|
|
let toggler = this.getAttribute("data-toggler");
|
|
|
@@ -107,11 +61,6 @@ $(document).ready(function(){
|
|
|
|
|
|
});
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
</script>
|
|
|
|
|
|
|
|
|
@@ -431,10 +380,6 @@ $(document).ready(function(){
|
|
|
</div>
|
|
|
</a>
|
|
|
<div class="card-body mab-card-body " style="">
|
|
|
- <!--<div class="border-0 d-flex justify-content">
|
|
|
- <p class="card-title" style="margin-bottom: 3px"><a href="{% url 'product-detail' product.pk %}"> {{product.header }} </a></p>
|
|
|
-
|
|
|
- </div>-->
|
|
|
|
|
|
<p class="mab-card-text card-text" style="">
|
|
|
{% if request.user_agent.browser.family != 'Safari' %}
|
|
|
@@ -487,9 +432,9 @@ $(document).ready(function(){
|
|
|
<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 }}</span></div>
|
|
|
<div class="" style=""><strong>Wohnungen:</strong> <span>{{ product.awohnungen }}</span></div>
|
|
|
- <div class="" style=""><span>{{ product.gemeinschaftr }}</span></div>
|
|
|
- <div class="" style=""><span>{{ product.kgemeinschaftr }}</span></div>
|
|
|
- <div class="" style=""><span>{{ product.claim }}</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>
|
|
|
@@ -528,7 +473,6 @@ $(document).ready(function(){
|
|
|
let toggler = this.getAttribute("data-flip-card");
|
|
|
$("#" + toggler ).toggleClass('is-flipped');
|
|
|
$("#" + toggler + " .mab-card-face" ).toggleClass('toogle-overflow');
|
|
|
- // $("#" + toggler ).toggleClass('toogle-overflow ');
|
|
|
|
|
|
});
|
|
|
|
|
|
@@ -537,7 +481,6 @@ $(document).ready(function(){
|
|
|
let toggler = this.getAttribute("data-flip-card");
|
|
|
$("#" + toggler ).toggleClass('is-flipped');
|
|
|
$("#" + toggler + " .mab-card-face" ).toggleClass('toogle-overflow');
|
|
|
- // $("#" + toggler ).toggleClass('toogle-overflow ');
|
|
|
|
|
|
});
|
|
|
|