]> git.parisson.com Git - teleforma.git/commitdiff
Add "animation_text" field : https://trackers.pilotsystems.net/prebarreau/0669
authorYoan Le Clanche <yoanl@pilotsystems.net>
Thu, 8 Jun 2023 10:00:25 +0000 (12:00 +0200)
committerYoan Le Clanche <yoanl@pilotsystems.net>
Thu, 8 Jun 2023 10:00:25 +0000 (12:00 +0200)
teleforma/migrations/0015_seminar_animation_text.py [new file with mode: 0644]
teleforma/migrations/0016_conference_animation_text.py [new file with mode: 0644]
teleforma/models/core.py
teleforma/models/pro.py

diff --git a/teleforma/migrations/0015_seminar_animation_text.py b/teleforma/migrations/0015_seminar_animation_text.py
new file mode 100644 (file)
index 0000000..26aae81
--- /dev/null
@@ -0,0 +1,18 @@
+# Generated by Django 3.2.3 on 2023-06-08 11:25
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('teleforma', '0014_testimonial_sent'),
+    ]
+
+    operations = [
+        migrations.AddField(
+            model_name='seminar',
+            name='animation_text',
+            field=models.CharField(blank=True, help_text="Affiché au dessus de l'intervenant, par exemple 'formation animée par'", max_length=1024, null=True, verbose_name="Text d'animation"),
+        ),
+    ]
diff --git a/teleforma/migrations/0016_conference_animation_text.py b/teleforma/migrations/0016_conference_animation_text.py
new file mode 100644 (file)
index 0000000..639f6da
--- /dev/null
@@ -0,0 +1,18 @@
+# Generated by Django 3.2.3 on 2023-06-08 11:51
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('teleforma', '0015_seminar_animation_text'),
+    ]
+
+    operations = [
+        migrations.AddField(
+            model_name='conference',
+            name='animation_text',
+            field=models.CharField(blank=True, help_text="Affiché au dessus de l'intervenant, par exemple 'formation animée par'", max_length=1024, null=True, verbose_name="Text d'animation"),
+        ),
+    ]
index e13164e604f47657a1c73202142754e9ae5871ae..2f9da4e2175b64c9a26e22adceb70091a401167c 100755 (executable)
@@ -946,6 +946,7 @@ class Conference(Displayable, WebclassMixin, ProductCodeMixin, SuggestionsMixin)
                                     help_text="Affiché sur la page formation du shop",
                                     null=True, 
                                     blank=True) 
+    animation_text          = models.CharField("Text d'animation", help_text="Affiché au dessus de l'intervenant, par exemple 'formation animée par'", max_length=1024, blank=True, null=True)
     plan                    = tinymce.models.HTMLField("Plan détaillé", 
                                                 help_text="Affiché sur la page formation du shop. Ajouter dans le code source &lt;div class=\"break\"&gt;&lt;/div&gt; pour choisir ou couper la colonne.",
                                                 null=True, 
index a9fbddf06b2769441e5bac20cb191cb6b3f1668d..557a889e150e5b7b4993f4341987d9868a41b34e 100644 (file)
@@ -125,6 +125,7 @@ class Seminar(ClonableMixin, Displayable, ProductCodeMixin, SuggestionsMixin):
                                     help_text="Affiché sur la page formation du shop",
                                     null=True, 
                                     blank=True)
+    animation_text  = models.CharField("Text d'animation", help_text="Affiché au dessus de l'intervenant, par exemple 'formation animée par'", max_length=1024, blank=True, null=True)
     plan            = tinymce.models.HTMLField("Plan détaillé", 
                                                 help_text="Affiché sur la page formation du shop. Ajouter dans le code source &lt;div class=\"break\"&gt;&lt;/div&gt; pour choisir ou couper la colonne.",
                                                 null=True,