aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/mail_conv.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-09-28 17:40:38 +0200
committerMario Vavti <mario@mariovavti.com>2015-09-28 17:40:38 +0200
commitb97102da01b2e81018e86c29092059704ee20da8 (patch)
tree8789f3e4f9792121245316f5a10a1f6146ec1c1c /view/tpl/mail_conv.tpl
parented876a9c529f59fa62bb45805aa4f355fe0e2c0d (diff)
downloadvolse-hubzilla-b97102da01b2e81018e86c29092059704ee20da8.tar.gz
volse-hubzilla-b97102da01b2e81018e86c29092059704ee20da8.tar.bz2
volse-hubzilla-b97102da01b2e81018e86c29092059704ee20da8.zip
private mail: bring additional inbox/outbox views and ajaxify single message drop
Diffstat (limited to 'view/tpl/mail_conv.tpl')
-rwxr-xr-xview/tpl/mail_conv.tpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/view/tpl/mail_conv.tpl b/view/tpl/mail_conv.tpl
index 0a5e5a2c5..2e64de7bc 100755
--- a/view/tpl/mail_conv.tpl
+++ b/view/tpl/mail_conv.tpl
@@ -1,4 +1,4 @@
-<div class="mail-conv-outside-wrapper">
+<div id="mail-{{$mail.id}}" class="mail-conv-outside-wrapper">
<div class="mail-conv-sender" >
<a href="{{$mail.from_url}}"><img class="mail-conv-sender-photo" src="{{$mail.from_photo}}" alt="{{$mail.from_name}}" /></a>
</div>
@@ -9,9 +9,9 @@
<div class="mail-conv-body">{{$mail.body}}</div>
<div class="btn-group pull-right" id="mail-conv-delete-wrapper-{{$mail.id}}" >
{{if $mail.can_recall}}
- <a href="mail/recall/{{$mail.id}}" title="{{$mail.recall}}" id="mail-conv-recall-icon-{{$mail.id}}" class="btn btn-default" ><i class="icon-undo mail-icons"></i></a>
+ <a href="mail/{{$mail.mailbox}}/recall/{{$mail.id}}" title="{{$mail.recall}}" id="mail-conv-recall-icon-{{$mail.id}}" class="btn btn-default" ><i class="icon-undo mail-icons"></i></a>
{{/if}}
- <a href="mail/drop/{{$mail.id}}" onclick="return confirmDelete();" title="{{$mail.delete}}" id="mail-conv-delete-icon-{{$mail.id}}" class="btn btn-default" ><i class="icon-trash mail-icons"></i></a>
+ <a href="#" onclick="dropItem('mail/{{$mail.mailbox}}/drop/{{$mail.id}}', '#mail-{{$mail.id}}'); return false;" title="{{$mail.delete}}" id="mail-conv-delete-icon-{{$mail.id}}" class="btn btn-default" ><i class="icon-trash mail-icons"></i></a>
</div>
</div>
<div class="clear"></div>