aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/tpl/mail_conv.tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-01 21:10:04 -0700
committerzotlabs <mike@macgirvin.com>2017-05-01 21:10:04 -0700
commite332d1074f1b663ec66d37b0f575df2e41d5535c (patch)
tree6309a232348eb70ed4db5fbb7ed898f98c5beee8 /view/theme/redbasic/tpl/mail_conv.tpl
parent42ed73ed4ac55ac62214301097f7d72cbcb37238 (diff)
downloadvolse-hubzilla-e332d1074f1b663ec66d37b0f575df2e41d5535c.tar.gz
volse-hubzilla-e332d1074f1b663ec66d37b0f575df2e41d5535c.tar.bz2
volse-hubzilla-e332d1074f1b663ec66d37b0f575df2e41d5535c.zip
move theme specific files to theme dir
Diffstat (limited to 'view/theme/redbasic/tpl/mail_conv.tpl')
-rwxr-xr-xview/theme/redbasic/tpl/mail_conv.tpl38
1 files changed, 38 insertions, 0 deletions
diff --git a/view/theme/redbasic/tpl/mail_conv.tpl b/view/theme/redbasic/tpl/mail_conv.tpl
new file mode 100755
index 000000000..759517b7f
--- /dev/null
+++ b/view/theme/redbasic/tpl/mail_conv.tpl
@@ -0,0 +1,38 @@
+<div id="mail-{{$mail.id}}" class="mb-2 clearfix mail-conv-outside-wrapper">
+ <div class="mb-2 clearfix wall-item-head">
+ <div class="wall-item-info" >
+ <a href="{{$mail.from_url}}"><img class="wall-item-photo" src="{{$mail.from_photo}}" alt="{{$mail.from_name}}" /></a>
+ </div>
+ <div class="mail-conv-detail">
+ {{if $mail.is_recalled}}<strong>{{$mail.is_recalled}}</strong>{{/if}}
+ <div class="wall-item-name"><a class="wall-item-name-link" href="{{$mail.from_url}}">{{$mail.from_name}}</a></div>
+ <div class="autotime wall-item-ago" title="{{$mail.date}}">{{$mail.date}}</div>
+ </div>
+ </div>
+ <div class="clearfix mail-conv-content">
+ <div class="clearfix mail-conv-body">
+ {{$mail.body}}
+ </div>
+ {{if $mail.attachments}}
+ <div class="dropdown float-left">
+ <button type="button" class="btn btn-outline-secondary btn-sm wall-item-like dropdown-toggle" data-toggle="dropdown" id="attachment-menu-{{$item.id}}"><i class="fa fa-fw fa-paperclip"></i></button>
+ <div class="dropdown-menu" role="menu" aria-labelledby="attachment-menu-{{$item.id}}">{{$mail.attachments}}</div>
+ </div>
+ {{/if}}
+ <div class="float-right dropdown">
+ <button type="button" class="btn btn-outline-secondary btn-sm dropdown-toggle" data-toggle="dropdown" id="mail-item-menu-{{$mail.id}}">
+ <i class="fa fa-cog"></i>
+ </button>
+ <div class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="mail-item-menu-{{$mail.id}}">
+ {{if $mail.can_recall}}
+ <a class="dropdown-item" href="mail/{{$mail.mailbox}}/recall/{{$mail.id}}" title="{{$mail.recall}}" id="mail-conv-recall-icon-{{$mail.id}}"><i class="fa fa-fw fa-undo"></i>&nbsp;{{$mail.recall}}</a>
+ {{/if}}
+ <a class="dropdown-item" href="#" onclick="dropItem('mail/{{$mail.mailbox}}/drop/{{$mail.id}}', '#mail-{{$mail.id}}'); return false;" title="{{$mail.delete}}" id="mail-conv-delete-icon-{{$mail.id}}"><i class="fa fa-fw fa-trash-o"></i>&nbsp;{{$mail.delete}}</a>
+ {{if $mail.can_recall}}
+ <div class="dropdown-divider"></div>
+ <a class="dropdown-item" href="dreport/mail/{{$mail.mid}}" title="{{$mail.dreport}}" id="mail-conv-dreport-icon-{{$mail.id}}">{{$mail.dreport}}</a>
+ {{/if}}
+ </div>
+ </div>
+ </div>
+</div>