aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/conv_item.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-10 00:44:34 -0800
committerfriendica <info@friendica.com>2015-02-10 00:44:34 -0800
commitf7cce634479bb95258209a6aadb9becd3c6b94a3 (patch)
treeb1f6fac13e966ddf3045dcd74c4c9031214aef2b /view/tpl/conv_item.tpl
parent81e7b47b76e6cc72995e910190e4164d28ec5664 (diff)
downloadvolse-hubzilla-f7cce634479bb95258209a6aadb9becd3c6b94a3.tar.gz
volse-hubzilla-f7cce634479bb95258209a6aadb9becd3c6b94a3.tar.bz2
volse-hubzilla-f7cce634479bb95258209a6aadb9becd3c6b94a3.zip
cleanup event attendance - make sure it works in list mode.
Diffstat (limited to 'view/tpl/conv_item.tpl')
-rwxr-xr-xview/tpl/conv_item.tpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl
index e5bbacf53..d1d197dc1 100755
--- a/view/tpl/conv_item.tpl
+++ b/view/tpl/conv_item.tpl
@@ -66,13 +66,13 @@
</button>
{{/if}}
{{if $item.isevent}}
- <button type="button" title="{{$item.attend.0}}" class="btn btn-default btn-sm" onclick="dolike({{$item.id}},'attendyes'); return false;">
+ <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="icon-plus" ></i>
</button>
- <button type="button" title="{{$item.attend.1}}" class="btn btn-default btn-sm" onclick="dolike({{$item.id}},'attendno'); return false;">
+ <button type="button" title="{{$item.attend.1}}" class="btn btn-default btn-sm" onclick="itemAddToCal({{$item.id}}); dolike({{$item.id}},'attendno'); return false;">
<i class="icon-minus" ></i>
</button>
- <button type="button" title="{{$item.attend.2}}" class="btn btn-default btn-sm" onclick="dolike({{$item.id}},'attendmaybe'); return false;">
+ <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="icon-question" ></i>
</button>
{{/if}}