diff options
Diffstat (limited to 'view/tpl/mail_display.tpl')
-rwxr-xr-x | view/tpl/mail_display.tpl | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/view/tpl/mail_display.tpl b/view/tpl/mail_display.tpl index 523a9160a..24e763571 100755 --- a/view/tpl/mail_display.tpl +++ b/view/tpl/mail_display.tpl @@ -1,12 +1,20 @@ -<h3>{{$prvmsg_header}}</h3> <div class="generic-content-wrapper"> -{{foreach $mails as $mail}} - {{include file="mail_conv.tpl"}} -{{/foreach}} + <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> + <div class="section-content-wrapper"> + {{foreach $mails as $mail}} + {{include file="mail_conv.tpl"}} + {{/foreach}} -{{if $canreply}} -{{include file="prv_message.tpl"}} -{{else}} -{{$unknown_text}} -{{/if}} + {{if $canreply}} + {{include file="prv_message.tpl"}} + {{else}} + {{$unknown_text}} + {{/if}} + </div> </div> |