if (data!==false&&data.reshare!==false&&data.reshare.uid_owner!==undefined){
if (data.reshare.share_type==OC.Share.SHARE_TYPE_GROUP){
html+='<span class="reshare">'+t('core','Shared with you and the group {group} by {owner}',{group:data.reshare.share_with,owner:data.reshare.uid_owner})+'</span>';
html+='<span class="reshare">'+t('core','Shared with you and the group {group} by {owner}',{group:data.reshare.share_with,owner:data.reshare.displayname_owner})+'</span>';
}else{
html+='<span class="reshare">'+t('core','Shared with you by {owner}',{owner:data.reshare.uid_owner})+'</span>';
html+='<span class="reshare">'+t('core','Shared with you by {owner}',{owner:data.reshare.displayname_owner})+'</span>';
varhtml='<li style="clear: both;" data-collection="'+item+'">'+t('core','Shared in {item} with {user}',{'item':item,user:shareWith})+'</li>';
varhtml='<li style="clear: both;" data-collection="'+item+'">'+t('core','Shared in {item} with {user}',{'item':item,user:shareWithDisplayName})+'</li>';