X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finsert%2Fsone.xml;h=c2d67ca06b7b72ecf9f35728a4a58d8c56323b8e;hb=48d8d875299dcbcaf24912c58960b7a1c070d22b;hp=b6668d6b0b013666150292fe7de96713eeec6ab4;hpb=7d22edfcaf45fd733fe4374e720c831793a998cc;p=Sone.git diff --git a/src/main/resources/templates/insert/sone.xml b/src/main/resources/templates/insert/sone.xml index b6668d6..c2d67ca 100644 --- a/src/main/resources/templates/insert/sone.xml +++ b/src/main/resources/templates/insert/sone.xml @@ -1,6 +1,7 @@ + <% currentSone.id> <% currentSone.name|html> @@ -10,12 +11,37 @@ - <%foreach posts post> - - - <% post.text|html> - + <%foreach currentSone.posts post> + + <% post.id> + + <% post.text|html> + <%/foreach> + + <%foreach currentSone.replies reply> + + <% reply.id> + <% reply.post.sone.requestUri|html> + <% reply.post.sone.requestUri|html> + <% reply.post.sone.niceName|html> + <% reply.post.id> + + <% reply.text> + + <%/foreach> + + + + <%foreach currentSone.friends friend> + + <% friend.id|html> + <% friend.requestUri|html> + <% friend.name|html> + + <%/foreach> + +