Skip to main content

Councillor article

Details of a single Councillor, including their contact details and associated image.

Route name

councillor_article

URL pattern

/councillors/{councillorId}/{councillorSlug}

Layout

Article

Module

EGov

Page class

councillor-article

Acceptance criteria

  • Approved version is shown
  • Page errors if invalid councillor ID is passed - 404 response
  • Page errors if councillor is offline - 404 response
  • Breadcrumb includes councillors list
  • First name, second name, image, party, ward, position, address, telephone, fax, email, content are rendered
  • Page does not error if party deleted
  • Page does not error if ward deleted
  • Multimedia is rendered in document editor content
  • Image is only printed if completed
  • Image Caption is rendered if completed
  • Position is only printed if completed
  • Address is only printed if completed
  • Telephone is only printed if completed
  • Telephone is rendered as a tel: link
  • Fax is only printed if completed
  • Email is only printed if completed
  • Email is rendered as a mailto: link
  • Content is only printed if completed
  • HTML content is rendered unencoded