Implement attachment text/x-perl
This commit is contained in:
parent
10fc5e2f61
commit
55a1a1df83
1
mbox2web
1
mbox2web
|
@ -100,6 +100,7 @@ def save_part(msg, disposition):
|
|||
"text/x-c++src": ".c++",
|
||||
"application/x-compressed-tar": ".tar.gz",
|
||||
"application/vnd.oasis.opendocument.text": ".odt",
|
||||
"text/x-perl": ".pl",
|
||||
}[content_type]
|
||||
|
||||
name = msg.get_param("name") or "(data)"
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<div class="partouter">
|
||||
<div class="partheader">
|
||||
text/x-perl
|
||||
</div>
|
||||
<div class="partinner">
|
||||
<a href="{{url}}">{{name}}</a>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue