X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finsert%2Fsone.xml;h=4e8cbaeedef34fdfc6955547bca230512e5f063b;hb=cb6009098271b6ded886490c125857c27e22dc06;hp=66032d5f25b5a5d36e4aca30d3c67f2e9d1ee0dc;hpb=c8f518f638aa16cf37145561b709d28252de213a;p=Sone.git diff --git a/src/main/resources/templates/insert/sone.xml b/src/main/resources/templates/insert/sone.xml index 66032d5..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> @@ -38,14 +45,10 @@ <%/foreach> - - <%foreach knownSones sone> - - <% sone.id|xml> - <% sone.requestUri|xml> - <% sone.name|xml> - + + <%foreach currentSone.likedReplyIds replyId> + <% replyId|xml> <%/foreach> - +