X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/99abdeb683814e50fa36e61664fe548d4160ccad..801944dbe4694fd895058b9444bacbe4e57d53e1:/app/views/dashboards/show.html.erb?ds=inline diff --git a/app/views/dashboards/show.html.erb b/app/views/dashboards/show.html.erb index 9aa4abed4..d3e6dbcb3 100644 --- a/app/views/dashboards/show.html.erb +++ b/app/views/dashboards/show.html.erb @@ -5,8 +5,8 @@
<% if current_user and @user.id == current_user.id %>
- <% if @user.home_lat.nil? or @user.home_lon.nil? %> -
+ <% if !@user.home_location? %> +

<%= t(".no_home_location_html", :edit_profile_link => link_to(t(".edit_your_profile"), edit_profile_path)) %>

<% else %> @@ -19,7 +19,7 @@ :icon => image_path("marker-red.png"), :description => render(:partial => "popup", :object => current_user, :locals => { :type => "your location" }) } %> - <%= tag.div "", :id => "map", :class => "content_map", :data => { :user => user_data } %> + <%= tag.div "", :id => "map", :class => "content_map border border-secondary-subtle rounded", :data => { :user => user_data } %> <% end %> <% friends = @user.friends %> @@ -32,7 +32,7 @@ <% if friends.empty? %> <%= t ".no friends" %> <% else %> -