aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-12-02 09:44:25 +0100
committerMario Vavti <mario@mariovavti.com>2015-12-02 09:44:25 +0100
commit593423434c0c0e8d1ebb43d97b2dda7e6b4d67bd (patch)
treec93fb653017a28e8ec6c24ea10ff14e24b67618c /view
parent78e18fcdcfaa879db1d7bf487c2e5de0e43e34b0 (diff)
downloadvolse-hubzilla-593423434c0c0e8d1ebb43d97b2dda7e6b4d67bd.tar.gz
volse-hubzilla-593423434c0c0e8d1ebb43d97b2dda7e6b4d67bd.tar.bz2
volse-hubzilla-593423434c0c0e8d1ebb43d97b2dda7e6b4d67bd.zip
fix attachment rendering for mail
Diffstat (limited to 'view')
-rw-r--r--view/css/mod_mail.css4
-rwxr-xr-xview/tpl/mail_conv.tpl6
2 files changed, 10 insertions, 0 deletions
diff --git a/view/css/mod_mail.css b/view/css/mod_mail.css
index 5fd646765..1346eecd5 100644
--- a/view/css/mod_mail.css
+++ b/view/css/mod_mail.css
@@ -24,3 +24,7 @@
#prvmail-rotator {
margin: 15px;
}
+
+.mail-conv-outside-wrapper {
+ margin-bottom: 20px;
+}
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>