aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2011-12-04 17:26:55 -0800
committerfriendica <info@friendica.com>2011-12-04 17:26:55 -0800
commit6fc9eae9de5d2186b106165986d5d9bec48304cf (patch)
tree2aaf6ad0fd7fe3f823d485303532d91bac9d07b3 /view
parentfb01d8bec5fea541a7ea6d67ef0db7790cab2cdf (diff)
downloadvolse-hubzilla-6fc9eae9de5d2186b106165986d5d9bec48304cf.tar.gz
volse-hubzilla-6fc9eae9de5d2186b106165986d5d9bec48304cf.tar.bz2
volse-hubzilla-6fc9eae9de5d2186b106165986d5d9bec48304cf.zip
more d* PM stuff
Diffstat (limited to 'view')
-rw-r--r--view/diaspora_conversation.tpl29
1 files changed, 29 insertions, 0 deletions
diff --git a/view/diaspora_conversation.tpl b/view/diaspora_conversation.tpl
new file mode 100644
index 000000000..12807ba59
--- /dev/null
+++ b/view/diaspora_conversation.tpl
@@ -0,0 +1,29 @@
+<XML>
+ <post>
+ <conversation>
+ <guid>$conv.guid</guid>
+ <subject>$conv.subject</subject>
+ <created_at>$conv.created_at</created_at>
+
+ {{ for $conv.messages as $msg }}
+
+ <message>
+ <guid>$msg.guid</guid>
+ <parent_guid>$msg.parent_guid</parent_guid>
+ {{ if $msg.parent_author_signature }}
+ <parent_author_signature>$msg.parent_author_signature</parent_author_signature>
+ {{ endif }}
+ <author_signature>$msg.author_signature</author_signature>
+ <text>$msg.text</text>
+ <created_at>$msg.created_at</created_at>
+ <diaspora_handle>$msg.diaspora_handle</diaspora_handle>
+ <conversation_guid>$msg.conversation_guid</conversation_guid>
+ </message>
+
+ {{ endfor }}
+
+ <diaspora_handle>$conv.diaspora_handle</diaspora_handle>
+ <participant_handles>$conv.participant_handles</participant_handles>
+ </conversation>
+ </post>
+</XML>