aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/conv_item.tpl
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-09-25 20:34:36 -0700
committerredmatrix <mike@macgirvin.com>2016-09-25 20:34:36 -0700
commitbba7fe24e91b5899035df42afb31276a6c6f1d8b (patch)
treebe1cb0b7b8f5dbb5efb61d809851ef291fb82e1d /view/tpl/conv_item.tpl
parentbfc2552841ce0a018e70dae16fddf690a892b49d (diff)
downloadvolse-hubzilla-bba7fe24e91b5899035df42afb31276a6c6f1d8b.tar.gz
volse-hubzilla-bba7fe24e91b5899035df42afb31276a6c6f1d8b.tar.bz2
volse-hubzilla-bba7fe24e91b5899035df42afb31276a6c6f1d8b.zip
subtle indicator of your own response verb activity
Diffstat (limited to 'view/tpl/conv_item.tpl')
-rwxr-xr-xview/tpl/conv_item.tpl16
1 files changed, 8 insertions, 8 deletions
diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl
index 7e42aa891..5bf4bc5b6 100755
--- a/view/tpl/conv_item.tpl
+++ b/view/tpl/conv_item.tpl
@@ -94,35 +94,35 @@
<div class="btn-group dropdown">
{{if $item.like}}
<button type="button" title="{{$item.like.0}}" class="btn btn-default btn-sm" onclick="dolike({{$item.id}},'like'); return false;">
- <i class="fa fa-thumbs-o-up" ></i>
+ <i class="fa fa-thumbs-o-up{{if $item.my_responses.like}} ivoted{{/if}}" ></i>
</button>
{{/if}}
{{if $item.dislike}}
<button type="button" title="{{$item.dislike.0}}" class="btn btn-default btn-sm" onclick="dolike({{$item.id}},'dislike'); return false;">
- <i class="fa fa-thumbs-o-down" ></i>
+ <i class="fa fa-thumbs-o-down{{if $item.my_responses.dislike}} ivoted{{/if}}" ></i>
</button>
{{/if}}
{{if $item.isevent}}
<button type="button" title="{{$item.attend.0}}" class="btn btn-default btn-sm" onclick="itemAddToCal({{$item.id}}); dolike({{$item.id}},'attendyes'); return false;">
- <i class="fa fa-check" ></i>
+ <i class="fa fa-check{{if $item.my_responses.attend}} ivoted{{/if}}" ></i>
</button>
<button type="button" title="{{$item.attend.1}}" class="btn btn-default btn-sm" onclick="dolike({{$item.id}},'attendno'); return false;">
- <i class="fa fa-times" ></i>
+ <i class="fa fa-times{{if $item.my_responses.attendno}} ivoted{{/if}}" ></i>
</button>
<button type="button" title="{{$item.attend.2}}" class="btn btn-default btn-sm" onclick="itemAddToCal({{$item.id}}); dolike({{$item.id}},'attendmaybe'); return false;">
- <i class="fa fa-question" ></i>
+ <i class="fa fa-question{{if $item.my_responses.attendmaybe}} ivoted{{/if}}" ></i>
</button>
{{/if}}
{{if $item.canvote}}
<button type="button" title="{{$item.conlabels.0}}" class="btn btn-default btn-sm" onclick="dolike({{$item.id}},'agree'); return false;">
- <i class="fa fa-check" ></i>
+ <i class="fa fa-check{{if $item.my_responses.agree}} ivoted{{/if}}" ></i>
</button>
<button type="button" title="{{$item.conlabels.1}}" class="btn btn-default btn-sm" onclick="dolike({{$item.id}},'disagree'); return false;">
- <i class="fa fa-times" ></i>
+ <i class="fa fa-times{{if $item.my_responses.disagree}} ivoted{{/if}}" ></i>
</button>
<button type="button" title="{{$item.conlabels.2}}" class="btn btn-default btn-sm" onclick="dolike({{$item.id}},'abstain'); return false;">
- <i class="fa fa-question" ></i>
+ <i class="fa fa-question{{if $item.my_responses.abstain}} ivoted{{/if}}" ></i>
</button>
{{/if}}
<button type="button" class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" id="wall-item-menu-{{$item.id}}">