X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/86061a881662bba3ba889878c5b51c37275f5f45..ec5754a9bd56dbb802a2897851ebf71deb017f89:/app/views/dashboards/show.html.erb diff --git a/app/views/dashboards/show.html.erb b/app/views/dashboards/show.html.erb index f5feb9037..c4b595e9b 100644 --- a/app/views/dashboards/show.html.erb +++ b/app/views/dashboards/show.html.erb @@ -5,9 +5,9 @@
<% if current_user and @user.id == current_user.id %>
- <% if @user.home_lat.nil? or @user.home_lon.nil? %> -
-

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

+ <% if !@user.home_location? %> +
+

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

<% else %> <% content_for :head do %> @@ -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 z-0", :data => { :user => user_data } %> <% end %> <% friends = @user.friends %> @@ -27,30 +27,30 @@
-

<%= t ".my friends" %>

+

<%= t ".my friends" %>

<% if friends.empty? %> <%= t ".no friends" %> <% else %> -