X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/29e98571454a450f0af1e2649d1688c6f2afffdb..801944dbe4694fd895058b9444bacbe4e57d53e1:/app/views/dashboards/show.html.erb diff --git a/app/views/dashboards/show.html.erb b/app/views/dashboards/show.html.erb index f5feb9037..d3e6dbcb3 100644 --- a/app/views/dashboards/show.html.erb +++ b/app/views/dashboards/show.html.erb @@ -5,9 +5,9 @@
<%= 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)) %>