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