diff MoinMoin/themes/__init__.py @ 476:a716e61ae9c7

contenttype texts are replaced by icons in global history page, all icons are GPL licensed (picked from tango icons library).
author Akash Sinha <akash2607@gmail.com>
date Wed, 29 Jun 2011 02:25:05 +0530
parents 1a1dab306214
children 201758d56fb1
line wrap: on
line diff
--- a/MoinMoin/themes/__init__.py	Sun Jun 26 14:33:17 2011 +0530
+++ b/MoinMoin/themes/__init__.py	Wed Jun 29 02:25:05 2011 +0530
@@ -360,6 +360,11 @@
 
 MIMETYPE_TO_CLASS = {
     'application/pdf': 'pdf',
+    'application/zip': 'package',
+    'application/x-tar': 'package',
+    'application/x-twikidraw': 'drawing',
+    'application/x-anywikidraw': 'drawing',
+    'application/x-svgdraw': 'drawing',
 }
 
 def contenttype_to_class(contenttype):