##// END OF EJS Templates
files: allow to show inline pdf in browser using embedded file from vcs
marcink -
r1581:9d336780 default
parent child Browse files
Show More
@@ -388,6 +388,7 b' class FilesController(BaseRepoController'
388 'image/png': ('image/png', 'inline'),
388 'image/png': ('image/png', 'inline'),
389 'image/gif': ('image/gif', 'inline'),
389 'image/gif': ('image/gif', 'inline'),
390 'image/jpeg': ('image/jpeg', 'inline'),
390 'image/jpeg': ('image/jpeg', 'inline'),
391 'application/pdf': ('application/pdf', 'inline'),
391 }
392 }
392
393
393 mimetype = file_node.mimetype
394 mimetype = file_node.mimetype
General Comments 0
You need to be logged in to leave comments. Login now