aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-04-29 23:29:16 +0200
committerMax Kostikov <max@kostikov.co>2019-04-29 23:29:16 +0200
commite80c99ad744f675ff193802fa2fe91d1c1207d01 (patch)
tree10eaf06d882cc2c0476008dc7b2c32987a3f9522
parentd9be443e53e7a8ef624f5e997bfc544ac567ee4b (diff)
downloadvolse-hubzilla-e80c99ad744f675ff193802fa2fe91d1c1207d01.tar.gz
volse-hubzilla-e80c99ad744f675ff193802fa2fe91d1c1207d01.tar.bz2
volse-hubzilla-e80c99ad744f675ff193802fa2fe91d1c1207d01.zip
Add 'reply to comment' button
-rwxr-xr-xview/tpl/conv_item.tpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl
index 428529de2..29401a35c 100755
--- a/view/tpl/conv_item.tpl
+++ b/view/tpl/conv_item.tpl
@@ -102,6 +102,11 @@
<i class="fa fa-thumbs-o-down{{if $item.my_responses.dislike}} ivoted{{/if}}" ></i>
</button>
{{/if}}
+ {{if $item.reply_to}}
+ <button type="button" title="{{$item.reply_to.0}}" class="btn btn-outline-secondary btn-sm" onclick="doreply({{$item.parent}},{{$item.id}},'{{$item.author_id}}'); return false;">
+ <i class="fa fa-reply" ></i>
+ </button>
+ {{/if}}
{{if $item.isevent}}
<div class="btn-group">
<button type="button" class="btn btn-outline-secondary btn-sm dropdown-toggle" data-toggle="dropdown" id="wall-item-attend-menu-{{$item.id}}" title="{{$item.attend_title}}">