Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: add empty alt text to avatar img
author
Giuseppe Bilotta
<giuseppe.bilotta@gmail.com>
Mon, 29 Jun 2009 22:00:54 +0000
(
00:00
+0200)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 30 Jun 2009 18:06:37 +0000
(11:06 -0700)
The empty alt text optimizes screen estate in text-only browsers.
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
679a1a1
)
diff --git
a/gitweb/gitweb.perl
b/gitweb/gitweb.perl
index 862ea99f8a67f158e370a30264627f8615dff5e0..6a1b5b5b49611e158e5cd74b50685c9022b17adc 100755
(executable)
--- a/
gitweb/gitweb.perl
+++ b/
gitweb/gitweb.perl
@@
-1574,6
+1574,7
@@
sub git_get_avatar {
"<img width=\"$size\" " .
"class=\"avatar\" " .
"src=\"$url\" " .
+ "alt=\"\" " .
"/>" . $post_white;
} else {
return "";