Repository: liqd/a4-opin

Issue:
insert subtitles for Help section
-provide space to insert subtitle with wagtail for all help tiles.
![grafik](https://user-images.githubusercontent.com/24652917/27189615-34bdcfb6-51f2-11e7-9ee6-34ee9406b634.png)



Discussion:
This should be done on the staging server - English version

https://opin-stage.liqd.net/en/help/

Resolving patch:
diff --git a/home/migrations/0026_add_subtitle_to_manuals_detail.py b/home/migrations/0026_add_subtitle_to_manuals_detail.py
new file mode 100644
--- /dev/null
+++ b/home/migrations/0026_add_subtitle_to_manuals_detail.py
@@ -0,0 +1,79 @@
+# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('home', '0025_make_linkview_nullable'),
+    ]
+
+    operations = [
+        migrations.AddField(
+            model_name='manualsdetailpage',
+            name='description_da',
+            field=models.CharField(verbose_name='Subtitle', blank=True, max_length=260),
+        ),
+        migrations.AddField(
+            model_name='manualsdetailpage',
+            name='description_de',
+            field=models.CharField(verbose_name='Subtitle', blank=True, max_length=260),
+        ),
+        migrations.AddField(
+            model_name='manualsdetailpage',
+            name='description_el',
+            field=models.CharField(verbose_name='Subtitle', blank=True, max_length=260),
+        ),
+        migrations.AddField(
+            model_name='manualsdetailpage',
+            name='description_en',
+            field=models.CharField(verbose_name='Subtitle', blank=True, max_length=260),
+        ),
+        migrations.AddField(
+            model_name='manualsdetailpage',
+            name='description_fr',
+            field=models.CharField(verbose_name='Subtitle', blank=True, max_length=260),
+        ),
+        migrations.AddField(
+            model_name='manualsdetailpage',
+            name='description_it',
+            field=models.CharField(verbose_name='Subtitle', blank=True, max_length=260),
+        ),
+        migrations.AddField(
+            model_name='manualsdetailpage',
+            name='description_ka',
+            field=models.CharField(verbose_name='Subtitle', blank=True, max_length=260),
+        ),
+        migrations.AddField(
+            model_name='manualsdetailpage',
+            name='description_mk',
+            field=models.CharField(verbose_name='Subtitle', blank=True, max_length=260),
+        ),
+        migrations.AddField(
+            model_name='manualsdetailpage',
+            name='description_mt',
+            field=models.CharField(verbose_name='Subtitle', blank=True, max_length=260),
+        ),
+        migrations.AddField(
+            model_name='manualsdetailpage',
+            name='description_ru',
+            field=models.CharField(verbose_name='Subtitle', blank=True, max_length=260),
+        ),
+        migrations.AddField(
+            model_name='manualsdetailpage',
+            name='description_sl',
+            field=models.CharField(verbose_name='Subtitle', blank=True, max_length=260),
+        ),
+        migrations.AddField(
+            model_name='manualsdetailpage',
+            name='description_sv',
+            field=models.CharField(verbose_name='Subtitle', blank=True, max_length=260),
+        ),
+        migrations.AddField(
+            model_name='manualsdetailpage',
+            name='description_uk',
+            field=models.CharField(verbose_name='Subtitle', blank=True, max_length=260),
+        ),
+    ]
diff --git a/home/models.py b/home/models.py
--- a/home/models.py
+++ b/home/models.py
@@ -970,6 +970,35 @@ class ManualsDetailPage(Page):
     title_mt = models.CharField(
         max_length=150, blank=True, verbose_name="Title")
 
+    # Subtitle (Field named description as in ManualsSectionPage)
+    description = TranslatedField('description')
+    description_en = models.CharField(
+        max_length=260, blank=True, verbose_name="Subtitle")
+    description_de = models.CharField(
+        max_length=260, blank=True, verbose_name="Subtitle")
+    description_it = models.CharField(
+        max_length=260, blank=True, verbose_name="Subtitle")
+    description_fr = models.CharField(
+        max_length=260, blank=True, verbose_name="Subtitle")
+    description_sv = models.CharField(
+        max_length=260, blank=True, verbose_name="Subtitle")
+    description_sl = models.CharField(
+        max_length=260, blank=True, verbose_name="Subtitle")
+    description_da = models.CharField(
+        max_length=260, blank=True, verbose_name="Subtitle")
+    description_uk = models.CharField(
+        max_length=260, blank=True, verbose_name="Subtitle")
+    description_el = models.CharField(
+        max_length=260, blank=True, verbose_name="Subtitle")
+    description_ru = models.CharField(
+        max_length=260, blank=True, verbose_name="Subtitle")
+    description_ka = models.CharField(
+        max_length=260, blank=True, verbose_name="Subtitle")
+    description_mk = models.CharField(
+        max_length=260, blank=True, verbose_name="Subtitle")
+    description_mt = models.CharField(
+        max_length=260, blank=True, verbose_name="Subtitle")
+
     # Body
     body = TranslatedField('body')
     block_types = [
@@ -1012,6 +1041,7 @@ class ManualsDetailPage(Page):
     content_panels = [
         edit_handlers.MultiFieldPanel([
                 edit_handlers.FieldPanel('title_' + lang_code),
+                edit_handlers.FieldPanel('description_' + lang_code),
                 edit_handlers.StreamFieldPanel('body_' + lang_code),
             ],
             heading=lang,


Test patch: