Skip to content

Pre-rendered attachment markup can be removed from content items #9142

Open
@andysellick

Description

@andysellick

The content item for page types publications, consultations and calls for evidence contains a pre-rendered chunk of markup generated in whitehall that was used to display attachments on these pages.

We've recently done some work to move away from using this pre-rendered markup (in details->documents), instead using the other data in the content item (details->attachments) to generate the same output using components within the application (government-frontend).

I believe that it is therefore safe to now remove this pre-rendered markup from the content item.

Pull requests where we made these changes:

The card for the work to switch away from the pre-rendered markup is here: https://trello.com/c/tcTN1jbu/28-update-rendering-of-govspeak-attachments

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions