diff --git a/ungleich_page/migrations/0018_ungleichfooter.py b/ungleich_page/migrations/0018_ungleichfooter.py index 8260768c..ea7d28ba 100644 --- a/ungleich_page/migrations/0018_ungleichfooter.py +++ b/ungleich_page/migrations/0018_ungleichfooter.py @@ -23,7 +23,8 @@ class Migration(migrations.Migration): blank=True, default='', max_length=100, help_text='Name of the company alongside the copyright year')), ('link_text', models.CharField( - blank=True, max_length=100, null=True)), + blank=True, max_length=100, null=True, + help_text='Text for the link on the right part of footer')), ('link_url', models.URLField(blank=True, help_text='Url to the link in footer', null=True)), ('twitter_url', models.URLField( diff --git a/ungleich_page/models.py b/ungleich_page/models.py index f6b87c34..e20a2c17 100644 --- a/ungleich_page/models.py +++ b/ungleich_page/models.py @@ -229,7 +229,10 @@ class UngleichFooter(CMSPlugin): max_length=100, default='', blank=True, help_text='Name of the company alongside the copyright year' ) - link_text = models.CharField(max_length=100, blank=True, null=True) + link_text = models.CharField( + max_length=100, blank=True, null=True, + help_text='Text for the link on the right part of footer' + ) link_url = models.URLField( blank=True, null=True, help_text='Url to the link in footer' diff --git a/ungleich_page/templates/ungleich_page/ungleich_cms_page.html b/ungleich_page/templates/ungleich_page/ungleich_cms_page.html index 707d0dab..a65c158c 100644 --- a/ungleich_page/templates/ungleich_page/ungleich_cms_page.html +++ b/ungleich_page/templates/ungleich_page/ungleich_cms_page.html @@ -41,7 +41,7 @@ {% placeholder 'Ungleich Page Contents' %} - {% include "ungleich_page/includes/_footer.html" %} + {% static_placeholder 'Footer' %}