diff --git a/app/views/people/show.html.erb b/app/views/people/show.html.erb index e2663340..b2af8991 100644 --- a/app/views/people/show.html.erb +++ b/app/views/people/show.html.erb @@ -11,7 +11,10 @@

Location

- <%= @person.city %>, <%= @person.province %>, <%= @person.country %> + + <%= @person.city %><% if @person.city != "" && @person.province != "" %>, <% end %><%= @person.province %><% if (@person.city != "" || @person.province != "") && @person.country != "" %>, <% end %><%= @person.country %> + <% if (@person.city == "" && @person.province == "" && @person.country == "") %>Earth<% end %> +

Link

<%= link_to @person.link, @person.link, :class => 'link', :target => '_blank' %>