aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/comment_item.tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-08-08 22:55:47 -0700
committerzotlabs <mike@macgirvin.com>2017-08-08 22:55:47 -0700
commitca11d7b9a76c41c7cea0dbec1befacb0ff182de2 (patch)
treeb341eae028b38707e2282ebd29632eaf74c8066c /view/tpl/comment_item.tpl
parenta7a73a5150e8da202b1ea84408434e284f4ceda2 (diff)
downloadvolse-hubzilla-ca11d7b9a76c41c7cea0dbec1befacb0ff182de2.tar.gz
volse-hubzilla-ca11d7b9a76c41c7cea0dbec1befacb0ff182de2.tar.bz2
volse-hubzilla-ca11d7b9a76c41c7cea0dbec1befacb0ff182de2.zip
support upload of files and attachments into comments. This has some repercussions when it comes to post permissions since the commenter will not know the distribution of the post. Basically the files will be uploaded with the commenter's default ACL. Most of the time this will do the right thing.
Diffstat (limited to 'view/tpl/comment_item.tpl')
-rwxr-xr-xview/tpl/comment_item.tpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/view/tpl/comment_item.tpl b/view/tpl/comment_item.tpl
index 02b0c527c..289356107 100755
--- a/view/tpl/comment_item.tpl
+++ b/view/tpl/comment_item.tpl
@@ -47,6 +47,9 @@
</button>
</div>
<div class="btn-group mr-2">
+ <button class="btn btn-outline-secondary btn-sm" title="{{$edatt}}" onclick="insertCommentAttach('{{$comment}}',{{$id}}); return false;">
+ <i class="fa fa-paperclip comment-icon"></i>
+ </button>
<button class="btn btn-outline-secondary btn-sm" title="{{$edurl}}" onclick="insertCommentURL('{{$comment}}',{{$id}}); return false;">
<i class="fa fa-link comment-icon"></i>
</button>