X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e72ebb7eacb34e27c0659a267d1eec0fc81f262c..49a45b1c52b9cc8bbfcd6f4e6c93adac912d95a1:/app/views/user/api_details.builder?ds=sidebyside diff --git a/app/views/user/api_details.builder b/app/views/user/api_details.builder index d70c65f04..a164c7a56 100644 --- a/app/views/user/api_details.builder +++ b/app/views/user/api_details.builder @@ -6,6 +6,9 @@ xml.osm("version" => API_VERSION, "generator" => GENERATOR) do if @user.description xml.tag! "description", @user.description end + xml.tag! "contributor-terms", + :agreed => !!@user.terms_agreed, + :pd => !!@user.consider_pd if @user.home_lat and @user.home_lon xml.tag! "home", :lat => @user.home_lat, :lon => @user.home_lon,