- xml.tag! "user", :id => @this_user.id,
- :display_name => @this_user.display_name,
- :account_created => @this_user.creation_time.xmlschema do
- xml.tag! "description", @this_user.description if @this_user.description
- if @user && @user == @this_user
- xml.tag! "contributor-terms", :agreed => @this_user.terms_agreed.present?,
- :pd => @this_user.consider_pd
+ xml.tag! "user", :id => @user.id,
+ :display_name => @user.display_name,
+ :account_created => @user.creation_time.xmlschema do
+ xml.tag! "description", @user.description if @user.description
+ if current_user && current_user == @user
+ xml.tag! "contributor-terms", :agreed => @user.terms_agreed.present?,
+ :pd => @user.consider_pd