Revision 43f06a01
Von Tamino Steinert vor etwa 1 Jahr hinzugefügt
SL/Presenter/EmailJournal.pm | ||
---|---|---|
47 | 47 |
sub attachment_preview { |
48 | 48 |
my ($attachment, %params) = @_; |
49 | 49 |
|
50 |
if (! $attachment) { |
|
51 |
return is_escaped(html_tag('div', '', id => 'attachment_preview')); |
|
52 |
} |
|
53 |
|
|
50 | 54 |
# clean up mime_type |
51 | 55 |
my $mime_type = $attachment->mime_type; |
52 | 56 |
$mime_type =~ s/;.*//; |
Auch abrufbar als: Unified diff
EmailJournal: Zeige Vorschau von Anhängen an