Merge pull request #3194 from openSUSE/depfu/update/countries-5.4.0
Drop country_select
This commit is contained in:
commit
a154d99460
4 changed files with 5 additions and 16 deletions
|
|
@ -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?
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
= sanitize link_to(venue.name, venue.website)
|
||||
- else
|
||||
= venue.city
|
||||
- if venue.country_name != 'US'
|
||||
- if venue.country_name
|
||||
•
|
||||
= venue.country_name
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue