X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finsert%2Fsone.xml;h=4e8cbaeedef34fdfc6955547bca230512e5f063b;hb=4316b669b28d294dd2b4b9a34e45f080c77037fe;hp=782eccd4ef3c9cddae9a6d925daab492dd3aaaae;hpb=90c85f39570270b879e2d3020fe95231410f57c6;p=Sone.git diff --git a/src/main/resources/templates/insert/sone.xml b/src/main/resources/templates/insert/sone.xml index 782eccd..4e8cbae 100644 --- a/src/main/resources/templates/insert/sone.xml +++ b/src/main/resources/templates/insert/sone.xml @@ -1,10 +1,13 @@ - <% currentSone.id> - <% currentSone.name|xml> + + Sone + <% version|xml> + + <% currentSone.profile.firstName|xml> <% currentSone.profile.middleName|xml> @@ -18,6 +21,7 @@ <%foreach currentSone.posts post> <% post.id|xml> + <%ifnull !post.recipient><% post.recipient.id|xml><%/if> <% post.text|xml> @@ -47,14 +51,4 @@ <%/foreach> - - <%foreach knownSones sone> - - <% sone.id|xml> - <% sone.requestUri|xml> - <% sone.name|xml> - - <%/foreach> - -