aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/mail_display.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/mail_display.tpl')
-rwxr-xr-xview/tpl/mail_display.tpl24
1 files changed, 24 insertions, 0 deletions
diff --git a/view/tpl/mail_display.tpl b/view/tpl/mail_display.tpl
new file mode 100755
index 000000000..e8549a49b
--- /dev/null
+++ b/view/tpl/mail_display.tpl
@@ -0,0 +1,24 @@
+<div class="generic-content-wrapper">
+ <div class="section-title-wrapper">
+ <div class="pull-right">
+ <button id="fullscreen-btn" type="button" class="btn btn-outline-secondary btn-sm" onclick="makeFullScreen();"><i class="fa fa-expand"></i></button>
+ <button id="inline-btn" type="button" class="btn btn-outline-secondary btn-sm" onclick="makeFullScreen(false);"><i class="fa fa-compress"></i></button>
+ {{if $mailbox == 'combined'}}
+ <a class="btn btn-sm btn-danger" href="mail/{{$mailbox}}/dropconv/{{$thread_id}}" onclick="return confirmDelete();"><i class="fa fa-trash-o"></i> {{$delete}}</a>
+ {{/if}}
+ </div>
+ <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}}
+ </div>
+</div>