projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add i18n to Sone insert notification.
[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
..
511cbf2
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>