X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finsert%2Fsone.xml;h=9ba037f335b971714e591c252b05b83bacbf4f4b;hb=d53a79eeb9531a08173431ce2ba19156eeca4a0c;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..9ba037f 100644 --- a/src/main/resources/templates/insert/sone.xml +++ b/src/main/resources/templates/insert/sone.xml @@ -1,9 +1,13 @@ - <% currentSone.id> - <% currentSone.name|xml> + 0 + + + Sone + <% version|xml> + <% currentSone.profile.firstName|xml> @@ -12,12 +16,21 @@ <% currentSone.profile.birthDay|xml> <% currentSone.profile.birthMonth|xml> <% currentSone.profile.birthYear|xml> + + <%foreach currentSone.profile.fields field> + + <% field.key|xml> + <% field.value|xml> + + <%/foreach> + <%foreach currentSone.posts post> <% post.id|xml> + <%ifnull !post.recipient><% post.recipient.id|xml><%/if> <% post.text|xml> @@ -47,14 +60,4 @@ <%/foreach> - - <%foreach knownSones sone> - - <% sone.id|xml> - <% sone.requestUri|xml> - <% sone.name|xml> - - <%/foreach> - -