Skip to content

Article Publication date not being displayed on article page #4601

Description

@mauromsl

Describe the bug
Due to a recent change, the article publication date can sometimes be accidentally not rendered on the article page
Janeway version
v1.7.3

To Reproduce
Steps to reproduce the behavior:

  1. Publish an article with a publication date but no other publication detail
  2. visit article page
  3. See error

Expected behavior
Publication date should be always displayed when available

Additional context
seems like 2ef4ee9 moved the display logic for publication date inside the {% if article.has_publication_details %} without also adding the publication date to the model method

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething's not working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions