aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/conv_item.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-10 19:10:18 -0800
committerfriendica <info@friendica.com>2015-02-10 19:10:18 -0800
commit79223b6b3d38bfbfb3a6d9530f6ccc5b7bb096c8 (patch)
tree18ee5a91f1ce6e8d4c964174549ac10f4ab949be /view/tpl/conv_item.tpl
parent79da33dafdac1427ac07b4414a5da5f9f3a2b03d (diff)
downloadvolse-hubzilla-79223b6b3d38bfbfb3a6d9530f6ccc5b7bb096c8.tar.gz
volse-hubzilla-79223b6b3d38bfbfb3a6d9530f6ccc5b7bb096c8.tar.bz2
volse-hubzilla-79223b6b3d38bfbfb3a6d9530f6ccc5b7bb096c8.zip
item voting tools
Diffstat (limited to 'view/tpl/conv_item.tpl')
-rwxr-xr-xview/tpl/conv_item.tpl13
1 files changed, 13 insertions, 0 deletions
diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl
index df20eadbb..a902e5bda 100755
--- a/view/tpl/conv_item.tpl
+++ b/view/tpl/conv_item.tpl
@@ -76,6 +76,19 @@
<i class="icon-question" ></i>
</button>
{{/if}}
+
+ {{if $item.consensus}}
+ <button type="button" title="{{$item.conlabels.0}}" class="btn btn-default btn-sm" onclick="dolike({{$item.id}},'agree'); return false;">
+ <i class="icon-check" ></i>
+ </button>
+ <button type="button" title="{{$item.conlabels.1}}" class="btn btn-default btn-sm" onclick="dolike({{$item.id}},'disagree'); return false;">
+ <i class="icon-check-empty" ></i>
+ </button>
+ <button type="button" title="{{$item.conlabels.2}}" class="btn btn-default btn-sm" onclick="dolike({{$item.id}},'abstain'); return false;">
+ <i class="icon-question" ></i>
+ </button>
+ {{/if}}
+
<button type="button" class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" id="wall-item-menu-{{$item.id}}">
<i class="icon-caret-down"></i>
</button>