Skip to main content

Download article

Details of a single download, with a links to download all associated files.

Route name

download_article

URL pattern

/downloads/download/{downloadId}/{downloadSlug}

Layout

Article

Module

Publishing

Page class

download-article

Acceptance criteria

  • Category specific stylesheet is used
  • Page errors if an invalid download id is used - 404 response
  • Page errors if download is offline - 404 response
  • Page does not error if download if not visible - 200 response
  • Approved version is shown
  • If password protected and not authenticated, message and password form shown
  • Submitting valid password in password form is saved against session
  • If password protected and authenticated, or not password protected, download content is shown
  • Download title, description, list of files is rendered
  • Each uploaded file includes filename, file size, extension and link to valid download path
  • Each linked file includes filename and link to external path
  • Description is only shown if completed