aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-10-04 19:58:20 +0200
committerMario Vavti <mario@mariovavti.com>2015-10-04 19:58:20 +0200
commit2e45b41902cbf3d55995c3a2d4cc5547663f04ed (patch)
treefc170b5fd270b4cd30d2ce15ae7f92535a5b5ba7
parent7776c56c6c852f8a61e64e798f9c43f2c0ffada9 (diff)
downloadvolse-hubzilla-2e45b41902cbf3d55995c3a2d4cc5547663f04ed.tar.gz
volse-hubzilla-2e45b41902cbf3d55995c3a2d4cc5547663f04ed.tar.bz2
volse-hubzilla-2e45b41902cbf3d55995c3a2d4cc5547663f04ed.zip
do not show delete conversation in single message view
-rwxr-xr-xview/tpl/mail_display.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/view/tpl/mail_display.tpl b/view/tpl/mail_display.tpl
index 789c25ade..24e763571 100755
--- a/view/tpl/mail_display.tpl
+++ b/view/tpl/mail_display.tpl
@@ -1,6 +1,8 @@
<div class="generic-content-wrapper">
<div class="section-title-wrapper">
+ {{if $mailbox == 'combined'}}
<a class="btn btn-xs btn-danger pull-right" href="mail/{{$mailbox}}/dropconv/{{$thread_id}}" onclick="return confirmDelete();"><i class="icon-trash"></i> {{$delete}}</a>
+ {{/if}}
<h2>{{$prvmsg_header}}</h2>
<div class="clear"></div>
</div>