Bug#703118: do not show randomly generated avatar icons if not avatar exists
Antonio Terceiro <[email protected]>
| Newsgroups | gmane.linux.debian.devel.debbugs |
|---|---|
| Message-ID | <20130316014031.GB4683__14259.8375714899$1363398347$gmane$org@debian.org> |
On Fri, Mar 15, 2013 at 10:39:22PM -0300, Antonio Terceiro wrote: > On Fri, Mar 15, 2013 at 02:51:26PM -0700, Holger Levsen wrote: > > package: debbugs > > x-debbugs-cc: [email protected] > > > > Hi, > > > > On Freitag, 15. März 2013, Don Armstrong wrote: > > > Finally, if someone wants an option to disable avatars in the > > > bugreport view, I'd certainly add a patch which did that, or consider > > > implementing it myself if an appropriate wishlist bug was filed with > > > enough support against the debbugs package. > > > > currently the BTS displays a randomly generated "icon" for a bts-user if no > > avatar can be found. IMO the default should be not to display any icon if no > > avatar exists. > > This can be accomplished by replacing d=retro in the avatar URL, and > using the avatar image as the background of a <div> tag instead of an > actual <img> tag, so unexisting avatars returning 404 will not be > displayed by browsers as "broken image" icons (the <div> tag will just > have no background). I meant replacing d=retro with d=404 in the URL! -- Antonio Terceiro <[email protected]>
signature.asc
(application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlFDzY8ACgkQDOM8kQ+cso/7xwCfQdKqU957nuFER57eCBR4BmQx AEAAn2HforRQ3kppGdgMkko8bSRjggmw =YsvP -----END PGP SIGNATURE-----