diff --git a/ungleich_page/migrations/0021_ungleichproduct_animate.py b/ungleich_page/migrations/0021_ungleichproduct_animate.py new file mode 100644 index 00000000..28e638c3 --- /dev/null +++ b/ungleich_page/migrations/0021_ungleichproduct_animate.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.4 on 2018-12-09 15:06 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('ungleich_page', '0020_auto_20180320_0216'), + ] + + operations = [ + migrations.AddField( + model_name='ungleichproduct', + name='animate', + field=models.BooleanField(default=True), + ), + ] diff --git a/ungleich_page/models.py b/ungleich_page/models.py index 6e25501f..53a433b7 100644 --- a/ungleich_page/models.py +++ b/ungleich_page/models.py @@ -144,6 +144,7 @@ class UngleichProductItem(ServiceItem): class UngleichProduct(Service): section_class = models.CharField(max_length=100, default="", blank=True) + animate = models.BooleanField(default=True) class UngleichCustomer(Service): diff --git a/ungleich_page/templates/ungleich_page/ungleich/section_products.html b/ungleich_page/templates/ungleich_page/ungleich/section_products.html index aba92735..9cdc94c8 100644 --- a/ungleich_page/templates/ungleich_page/ungleich/section_products.html +++ b/ungleich_page/templates/ungleich_page/ungleich/section_products.html @@ -8,7 +8,7 @@
{% for plugin in product_instance.child_plugin_instances %} -
+
{% render_plugin plugin %}
{% endfor %} @@ -16,3 +16,16 @@
+ + + \ No newline at end of file