aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/diaspora_consensus.tpl
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-05-05 19:23:21 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-05-05 19:23:21 -0700
commitf559c91b7a7ff3e3e3bfd1ce430ce5b5615c07ea (patch)
tree45586e86825e60ac68ef0e26d1f1ee8b562feeaf /view/tpl/diaspora_consensus.tpl
parente4fe068ed51c3d92cdb416492c3cc0ad26c28c1c (diff)
downloadvolse-hubzilla-f559c91b7a7ff3e3e3bfd1ce430ce5b5615c07ea.tar.gz
volse-hubzilla-f559c91b7a7ff3e3e3bfd1ce430ce5b5615c07ea.tar.bz2
volse-hubzilla-f559c91b7a7ff3e3e3bfd1ce430ce5b5615c07ea.zip
turn consensus items into diaspora polls for that network
Diffstat (limited to 'view/tpl/diaspora_consensus.tpl')
-rw-r--r--view/tpl/diaspora_consensus.tpl17
1 files changed, 17 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>
+