Event address format should be displayed in a different format

Created on 16 December 2024, 23 days ago

Problem/Motivation

In the event page we show the event address.
The format is different than the one we show on group pages and we display the Country code instead of the country name.

Correct format and order of the fields should be: Location • Street, zip code city, country (full name)
Note that there is no comma between the city and the zip code when both values are provided

Acceptance Criteria:

  • As a user, on a event page I see the address in the correct format
  • As a user, on an event teaser I see the address in the correct format
  • Expected format: Location field • Street, Zip code City, Country (full name)
  • Expected logic:
    • When only country is provided we do not display a comma before it so the correct format will be Location field • Country or just Country if no location field is provided
    • When zip code and city are provided we display them next to each other with no comma in between (02345 Rome)

Steps to reproduce

  • Create an event
  • Access event page created
  • Check address on header of event

Proposed resolution

Currently the address field is rendered without an order, so on pre-process add an order to render like requested on ticket.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

📌 Task
Status

Active

Version

13.0

Component

Code (back-end)

Created by

🇧🇷Brazil viniciusrp

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024