gitweb: Allow PNG, GIF, JPEG images to be displayed in "blob" view
authorJakub Narebski <jnareb@gmail.com>
Mon, 4 Dec 2006 22:47:22 +0000 (23:47 +0100)
committerJunio C Hamano <junkio@cox.net>
Wed, 6 Dec 2006 19:11:58 +0000 (11:11 -0800)
Allow images in one of web formats (PNG, GIF, JPEG) - actually files
with mimetype of image/png, image/git, image/jpeg - to be displayed in
"blob" view using <img /> element, instead of using "blob_plain" view
for them, like for all other files except also text/* mimetype files.

This makes possible to easily go to file history, to HEAD version of
the file, to appropriate commit etc; all of those are not available
in "blob_plain" (raw) view.

Only text files can have "blame" view link in the formats part of
navbar.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
No differences found