diff options
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/diaspora_consensus.tpl | 17 | ||||
-rw-r--r-- | view/tpl/diaspora_post.tpl | 1 |
2 files changed, 18 insertions, 0 deletions
diff --git a/view/tpl/diaspora_consensus.tpl b/view/tpl/diaspora_consensus.tpl new file mode 100644 index 000000000..b6b7cf13d --- /dev/null +++ b/view/tpl/diaspora_consensus.tpl @@ -0,0 +1,17 @@ +<poll> +<guid>{{$guid_q}}</guid> +<question>{{$question}}</question> +<poll_answer> + <guid>{{$guid_y}}</guid> + <answer>{{$agree}}</answer> +</poll_answer> +<poll_answer> + <guid>{{$guid_n}}</guid> + <answer>{{$disagree}}</answer> +</poll_answer> +<poll_answer> + <guid>{{$guid_a}}</guid> + <answer>{{$abstain}}</answer> +</poll_answer> +</poll> + diff --git a/view/tpl/diaspora_post.tpl b/view/tpl/diaspora_post.tpl index 2fe916e00..ebfe9e5b7 100644 --- a/view/tpl/diaspora_post.tpl +++ b/view/tpl/diaspora_post.tpl @@ -4,6 +4,7 @@ <raw_message>{{$body}}</raw_message> <guid>{{$guid}}</guid> <diaspora_handle>{{$handle}}</diaspora_handle> + {{$poll}} <public>{{$public}}</public> <created_at>{{$created}}</created_at> <provider_display_name>{{$provider}}</provider_display_name> |