diff --git a/aircox_cms/locale/fr/LC_MESSAGES/django.mo b/aircox_cms/locale/fr/LC_MESSAGES/django.mo index 64fdbcf..cacd856 100644 Binary files a/aircox_cms/locale/fr/LC_MESSAGES/django.mo and b/aircox_cms/locale/fr/LC_MESSAGES/django.mo differ diff --git a/aircox_cms/locale/fr/LC_MESSAGES/django.po b/aircox_cms/locale/fr/LC_MESSAGES/django.po index 09577be..e2e4411 100755 --- a/aircox_cms/locale/fr/LC_MESSAGES/django.po +++ b/aircox_cms/locale/fr/LC_MESSAGES/django.po @@ -253,12 +253,12 @@ msgid "image to use as cover of the publication" msgstr "image à utiliser comme couverture de la publication" #: models.py:274 -msgid "summary" -msgstr "résumé" +msgid "headline" +msgstr "entête" #: models.py:276 -msgid "summary of the publication" -msgstr "résumé de la publication" +msgid "headline of the publication" +msgstr "entête de la publication" #: models.py:286 models.py:287 msgid "Publication" diff --git a/aircox_cms/models.py b/aircox_cms/models.py index 82d6bb0..0688338 100755 --- a/aircox_cms/models.py +++ b/aircox_cms/models.py @@ -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')) ] diff --git a/aircox_cms/sections.py b/aircox_cms/sections.py index 74c0d87..ebc3f44 100755 --- a/aircox_cms/sections.py +++ b/aircox_cms/sections.py @@ -64,7 +64,7 @@ class ListItem: on Publication. """ title = '' - summary = '' + headline = '' url = '' cover = None date = None @@ -899,7 +899,7 @@ class SectionLogsList(SectionItem): artist = related.artist, title = related.title, ), - summary = related.info, + headline = related.info, date = log.date, info = '♫', css_class = 'track' diff --git a/aircox_cms/static/aircox_cms/css/layout.css b/aircox_cms/static/aircox_cms/css/layout.css index 3e095b1..5f66ad8 100755 --- a/aircox_cms/static/aircox_cms/css/layout.css +++ b/aircox_cms/static/aircox_cms/css/layout.css @@ -430,7 +430,7 @@ main .body ~ section:not(.comments) { display: inline-block; } -.meta .author .summary { +.meta .author .headline { display: none; } diff --git a/aircox_cms/static/aircox_cms/css/theme.css b/aircox_cms/static/aircox_cms/css/theme.css index dffced3..9b43acf 100755 --- a/aircox_cms/static/aircox_cms/css/theme.css +++ b/aircox_cms/static/aircox_cms/css/theme.css @@ -119,7 +119,7 @@ main.detail { } main.detail > header h1.title, - main.detail > header .summary { + main.detail > header .headline { display: block; padding: 0.4em; vertical-align: middle; @@ -127,7 +127,7 @@ main.detail { } main.detail > header:hover h1.title, - main.detail > header:hover .summary { + main.detail > header:hover .headline { opacity: 0.0; transition: opacity 1.5s 1s; } @@ -145,7 +145,7 @@ main.detail { margin-top: 2em; } - main.detail header .summary { + main.detail header .headline { display: inline-block; width: calc(100% - 0.8em); min-height: 1.2em; diff --git a/aircox_cms/templates/aircox_cms/dynamic_list_page.html b/aircox_cms/templates/aircox_cms/dynamic_list_page.html index 2364b79..fff1a25 100755 --- a/aircox_cms/templates/aircox_cms/dynamic_list_page.html +++ b/aircox_cms/templates/aircox_cms/dynamic_list_page.html @@ -29,9 +29,9 @@ {% block content %} {% with related=list_selector.filter_related %} {% if related %} -