diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-12-02 09:44:25 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-12-02 09:44:25 +0100 |
commit | 593423434c0c0e8d1ebb43d97b2dda7e6b4d67bd (patch) | |
tree | c93fb653017a28e8ec6c24ea10ff14e24b67618c /view/tpl/mail_conv.tpl | |
parent | 78e18fcdcfaa879db1d7bf487c2e5de0e43e34b0 (diff) | |
download | volse-hubzilla-593423434c0c0e8d1ebb43d97b2dda7e6b4d67bd.tar.gz volse-hubzilla-593423434c0c0e8d1ebb43d97b2dda7e6b4d67bd.tar.bz2 volse-hubzilla-593423434c0c0e8d1ebb43d97b2dda7e6b4d67bd.zip |
fix attachment rendering for mail
Diffstat (limited to 'view/tpl/mail_conv.tpl')
-rwxr-xr-x | view/tpl/mail_conv.tpl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/view/tpl/mail_conv.tpl b/view/tpl/mail_conv.tpl index 4f54f1a6a..5e5d9808d 100755 --- a/view/tpl/mail_conv.tpl +++ b/view/tpl/mail_conv.tpl @@ -13,6 +13,12 @@ {{$mail.body}} <div class="clear"></div> </div> + {{if $mail.attachments}} + <div class="dropdown pull-left"> + <button type="button" class="btn btn-default btn-sm wall-item-like dropdown-toggle" data-toggle="dropdown" id="attachment-menu-{{$item.id}}"><i class="icon-paperclip"></i></button> + <ul class="dropdown-menu" role="menu" aria-labelledby="attachment-menu-{{$item.id}}">{{$mail.attachments}}</ul> + </div> + {{/if}} <div class="pull-right dropdown"> <button type="button" class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" id="mail-item-menu-{{$mail.id}}"> <i class="icon-caret-down"></i> |