X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/86061a881662bba3ba889878c5b51c37275f5f45..2882a65d21fd5758c2a90d1cbd808103ab7b8000:/app/views/dashboards/show.html.erb?ds=sidebyside 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 @@
<%= 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)) %>