Merge pull request #3194 from openSUSE/depfu/update/countries-5.4.0

Drop country_select
This commit is contained in:
Henne Vogelsang 2023-05-08 17:28:54 +02:00 committed by GitHub
commit a154d99460
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 16 deletions

View file

@ -20,8 +20,7 @@ class Venue < ApplicationRecord
end
def country_name
name = ISO3166::Country[country]
name&.iso_short_name
I18nData.countries[country]
end
def location?

View file

@ -22,7 +22,7 @@
= sanitize link_to(venue.name, venue.website)
- else
= venue.city
- if venue.country_name != 'US'
- if venue.country_name
&bull;
= venue.country_name