From 1d39d75f8a132281e4c82e260f95fb8358cccb13 Mon Sep 17 00:00:00 2001 From: Todd Dembrey <todd.dembrey@torchbox.com> Date: Mon, 15 Jan 2018 15:27:23 +0000 Subject: [PATCH] Fix formatting mistake on the help_text --- opentech/public/funds/migrations/0002_labindex_labpage.py | 2 +- opentech/public/funds/models.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opentech/public/funds/migrations/0002_labindex_labpage.py b/opentech/public/funds/migrations/0002_labindex_labpage.py index ab9f9c903..42af1ca71 100644 --- a/opentech/public/funds/migrations/0002_labindex_labpage.py +++ b/opentech/public/funds/migrations/0002_labindex_labpage.py @@ -48,7 +48,7 @@ class Migration(migrations.Migration): ('listing_summary', models.CharField(blank=True, help_text="The text summary used when this page appears in listings. It's also used as the description for search engines if the 'Search description' field above is not defined.", max_length=255)), ('introduction', models.TextField(blank=True)), ('lab_link', models.URLField(blank=True, verbose_name='External link')), - ('link_text', models.CharField(help_text='text to display on the button', max_length=255)), + ('link_text', models.CharField(help_text='Text to display on the button', max_length=255)), ('body', wagtail.wagtailcore.fields.StreamField((('heading', wagtail.wagtailcore.blocks.CharBlock(classname='full title', icon='title')), ('paragraph', wagtail.wagtailcore.blocks.RichTextBlock()), ('image', wagtail.wagtailcore.blocks.StructBlock((('image', wagtail.wagtailimages.blocks.ImageChooserBlock()), ('caption', wagtail.wagtailcore.blocks.CharBlock(required=False))))), ('quote', wagtail.wagtailcore.blocks.StructBlock((('quote', wagtail.wagtailcore.blocks.CharBlock(classname='title')), ('attribution', wagtail.wagtailcore.blocks.CharBlock(required=False)), ('job_title', wagtail.wagtailcore.blocks.CharBlock(required=False))))), ('embed', wagtail.wagtailembeds.blocks.EmbedBlock()), ('call_to_action', wagtail.wagtailsnippets.blocks.SnippetChooserBlock('utils.CallToActionSnippet', template='blocks/call_to_action_block.html')), ('document', wagtail.wagtailcore.blocks.StructBlock((('document', wagtail.wagtaildocs.blocks.DocumentChooserBlock()), ('title', wagtail.wagtailcore.blocks.CharBlock(required=False))))), ('project_list', opentech.public.funds.blocks.ProjectsBlock()), ('reviewer_list', opentech.public.funds.blocks.ReviewersBlock())))), ('header_image', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='images.CustomImage')), ('lab_type', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailcore.Page')), diff --git a/opentech/public/funds/models.py b/opentech/public/funds/models.py index 8e01ca148..c027610f3 100644 --- a/opentech/public/funds/models.py +++ b/opentech/public/funds/models.py @@ -89,7 +89,7 @@ class LabPage(BasePage): related_name='+', ) lab_link = models.URLField(blank=True, verbose_name='External link') - link_text = models.CharField(max_length=255, help_text='text to display on the button') + link_text = models.CharField(max_length=255, help_text='Text to display on the button') body = StreamField(FundBlock()) content_panels = BasePage.content_panels + [ -- GitLab