X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/28b00b85da663c161803897f6a54550597ed82c1..2b7a48029bff06c190544f91c5969b09aeae552b:/app/views/dashboards/show.html.erb diff --git a/app/views/dashboards/show.html.erb b/app/views/dashboards/show.html.erb index 744661dfd..b1ca90e85 100644 --- a/app/views/dashboards/show.html.erb +++ b/app/views/dashboards/show.html.erb @@ -6,7 +6,7 @@ <% if current_user and @user.id == current_user.id %>
<% 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 border border-grey rounded", :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,25 +27,25 @@
-

<%= t ".my friends" %>

+

<%= t ".followings" %>

<% if friends.empty? %> - <%= t ".no friends" %> + <%= t ".no followings" %> <% else %> -
- <%= render :partial => "contact", :collection => friends, :locals => { :type => "friend" } %> +
+ <%= render :partial => "contact", :collection => friends, :locals => { :type => "following" } %>
<% end %>
-

<%= t ".nearby users" %>

+

<%= t ".nearby users" %>

<% if nearby.empty? %> <%= t ".no nearby users" %>