Places: show the city alone while everything is in one country, keep City, Country otherwise #1249
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
performance
security
tier
1
tier
2
tier
3
tier/4
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Postulo/postulo#1249
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The need
Where every place a person deals with is in one country, writing the country on each of them is noise: a list of French companies reads
Paris, France,Lyon, France,Lille, France, ... and the eye has to skip the same word on every row. When only French companies are listed or available to the person, showParis. As soon as companies from other countries exist for that person,City, Countryis kept everywhere, so a row is never ambiguous.Rule
City, Country(asone_lineandlocation_linedo today).What stays as it is
printed_locationandlocation_line). Say in the decision if the person's own country may be dropped there by their choice.Where to look
core/postal.py(location_line,printed_location),core/models.py(PostalAddress.one_line),core/personal.py(place_text), the company templates,core/phones.country_name.Tests
One country: only the city shows, in every place listed above; adding one company from another country makes every place show
City, Countryat once; removing it brings the short form back; an address with no country does not change the answer; the setting's three values; documents and exports unchanged. The country name follows the reader's language.Strings go through Weblate only.