X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/32da856c00985bc2ebc7482da2ea4f76cf788832..c55d346d5f7501fd6f5f636e85c8a60ec67d88ee:/app/views/site/_id.html.erb diff --git a/app/views/site/_id.html.erb b/app/views/site/_id.html.erb index 1a3807e4a..4f764860e 100644 --- a/app/views/site/_id.html.erb +++ b/app/views/site/_id.html.erb @@ -1,7 +1,7 @@ <%= javascript_include_tag "edit/id" %>
- <% data = { :key => Settings.id_key } + <% data = { :configured => Settings.key?(:id_oauth_application) } data[:lat] = @lat if @lat data[:lon] = @lon if @lon data[:gpx] = trace_data_url(params[:gpx], :format => :xml) if params[:gpx]