projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'release/0.9-rc1'
[Sone.git]
/
src
/
main
/
resources
/
templates
/
insert
/
sone.xml
diff --git
a/src/main/resources/templates/insert/sone.xml
b/src/main/resources/templates/insert/sone.xml
index
e615725
..
3d456d4
100644
(file)
--- a/
src/main/resources/templates/insert/sone.xml
+++ b/
src/main/resources/templates/insert/sone.xml
@@
-31,7
+31,7
@@
<%foreach currentSone.posts post>
<post>
<id><% post.id|xml></id>
<%foreach currentSone.posts post>
<post>
<id><% post.id|xml></id>
- <recipient><%if
null !post.recipient><% post.recipient.id
|xml><%/if></recipient>
+ <recipient><%if
post.recipientId.present><% post.recipientId.get
|xml><%/if></recipient>
<time><% post.time></time>
<text><% post.text|xml></text>
</post>
<time><% post.time></time>
<text><% post.text|xml></text>
</post>
@@
-42,7
+42,7
@@
<%foreach currentSone.replies reply>
<reply>
<id><% reply.id></id>
<%foreach currentSone.replies reply>
<reply>
<id><% reply.id></id>
- <post-id><% reply.post
.i
d|xml></post-id>
+ <post-id><% reply.post
I
d|xml></post-id>
<time><% reply.time></time>
<text><% reply.text|xml></text>
</reply>
<time><% reply.time></time>
<text><% reply.text|xml></text>
</reply>
@@
-67,7
+67,7
@@
<%/first>
<album>
<id><%album.id|xml></id>
<%/first>
<album>
<id><%album.id|xml></id>
- <%if
null !album.paren
t>
+ <%if
!album.parent.roo
t>
<parent><%album.parent.id|xml></parent>
<%/if>
<title><%album.title|xml></title>
<parent><%album.parent.id|xml></parent>
<%/if>
<title><%album.title|xml></title>