X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finsert%2Fsone.xml;h=4e8cbaeedef34fdfc6955547bca230512e5f063b;hb=9a872c95a624a35552750c7993d03a69ba83f20c;hp=2469e4943220417683c15341fce40645a32592ad;hpb=08f0784ec6247da055b3d07835aa089333de0bcb;p=Sone.git diff --git a/src/main/resources/templates/insert/sone.xml b/src/main/resources/templates/insert/sone.xml index 2469e49..4e8cbae 100644 --- a/src/main/resources/templates/insert/sone.xml +++ b/src/main/resources/templates/insert/sone.xml @@ -1,20 +1,27 @@ - <% currentSone.id> - <% currentSone.name|xml> + + Sone + <% version|xml> + + <% currentSone.profile.firstName|xml> <% currentSone.profile.middleName|xml> <% currentSone.profile.lastName|xml> + <% currentSone.profile.birthDay|xml> + <% currentSone.profile.birthMonth|xml> + <% currentSone.profile.birthYear|xml> <%foreach currentSone.posts post> <% post.id|xml> + <%ifnull !post.recipient><% post.recipient.id|xml><%/if> <% post.text|xml> @@ -32,24 +39,16 @@ <%/foreach> - - <%foreach currentSone.friends friend> - - <% friend.id|xml> - <% friend.requestUri|xml> - <% friend.name|xml> - + + <%foreach currentSone.likedPostIds postId> + <% postId|xml> <%/foreach> - - - - <%foreach knownSones sone> - - <% sone.id|xml> - <% sone.requestUri|xml> - <% sone.name|xml> - + + + + <%foreach currentSone.likedReplyIds replyId> + <% replyId|xml> <%/foreach> - +