rename summary to headline

This commit is contained in:
bkfox
2017-05-15 16:52:58 +02:00
parent 8cc3caa16b
commit e7700a3896
11 changed files with 27 additions and 27 deletions

View File

@ -275,10 +275,10 @@ class Publication(Page):
related_name='+',
help_text = _('image to use as cover of the publication'),
)
summary = models.TextField(
_('summary'),
headline = models.TextField(
_('headline'),
blank = True, null = True,
help_text = _('summary of the publication'),
help_text = _('headline of the publication'),
)
tags = ClusterTaggableManager(
verbose_name = _('tags'),
@ -294,7 +294,7 @@ class Publication(Page):
MultiFieldPanel([
FieldPanel('title'),
ImageChooserPanel('cover'),
FieldPanel('summary'),
FieldPanel('headline'),
FieldPanel('body', classname='full'),
], heading=_('Content'))
]