Fix wording of 4.4. Closes #33

This commit is contained in:
Anna Sidwell 2018-03-31 16:33:35 +11:00
parent 4147dc7d32
commit 0f0f78bd24
2 changed files with 36 additions and 7 deletions

View File

@ -0,0 +1,32 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.6 on 2018-03-31 05:17
from __future__ import unicode_literals
from django.db import migrations, models
import phonenumber_field.modelfields
class Migration(migrations.Migration):
dependencies = [
('map', '0044_auto_20180331'),
]
operations = [
migrations.AlterField(
model_name='casestudy',
name='contact_phone',
field=phonenumber_field.modelfields.PhoneNumberField(blank=True, help_text='Please include the international prefix, beginning with "+".', max_length=128, verbose_name='Phone number'),
),
migrations.AlterField(
model_name='casestudy',
name='shown_on_other_platforms',
field=models.BooleanField(default=True, verbose_name='Is this case study shown on other platforms?'),
),
migrations.AlterField(
model_name='casestudy',
name='shown_on_other_platforms_detail',
field=models.TextField(blank=True, default='', help_text='Please provide links to other places the case study appears.', verbose_name='Shown on other platforms - Detail'),
preserve_default=False,
),
]

View File

@ -1000,17 +1000,14 @@ class CaseStudy(models.Model):
# 4.4
shown_on_other_platforms = models.BooleanField(
verbose_name=_("Show on other platforms?"),
help_text=_("Tick the box if you would like us to show this case study on other social media platforms"),
verbose_name=_("Is this case study shown on other platforms?"),
default=True
)
# 4.4.1
shown_on_other_platforms_detail = models.CharField(
verbose_name=_("Show on other platforms - Detail"),
help_text=_("List the social media platforms that you would like us to specifically publish the case study on"),
max_length=128,
null=True,
shown_on_other_platforms_detail = models.TextField(
verbose_name=_("Shown on other platforms - Detail"),
help_text=_("Please provide links to other places the case study appears."),
blank=True
)