Implement attachment text/x-patch
This commit is contained in:
parent
308a34e6ca
commit
057eba197e
1
mbox2web
1
mbox2web
|
@ -96,6 +96,7 @@ def save_part(msg, disposition):
|
|||
"text/x-python": ".py",
|
||||
"text/x-java": ".java",
|
||||
"application/x-sh": ".sh",
|
||||
"text/x-patch": ".patch",
|
||||
}[content_type]
|
||||
|
||||
name = msg.get_param("name") or "(data)"
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<div class="partouter">
|
||||
<div class="partheader">
|
||||
text/x-patch
|
||||
</div>
|
||||
<div class="partinner">
|
||||
<a href="{{url}}">{{name}}</a>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue