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