Skip to content
Snippets Groups Projects
Commit 9a7a62ff authored by Jakub Narębski's avatar Jakub Narębski Committed by Junio C Hamano
Browse files

gitweb: Cleanup Git logo and Git logo target generation


Rename $githelp_url and $githelp_label to $logo_url and $logo_label to
be more obvious what they refer to; while at it add commented out
previous contents (git documentation at kernel.org). Add comment about
logo size.

Use $cgi->a(...) to generate Git logo link; it automatically escapes
attribute values when it is needed.  Escape href attribute using
esc_url instead of (incorrect!) esc_html.

Move styling of git logo <img> element from "style" attribute to CSS
via setting class to "logo".  Perhaps we should set it by id rather
than by class.

Signed-off-by: default avatarJakub Narebski <jnareb@gmail.com>
Signed-off-by: default avatarJunio C Hamano <junkio@cox.net>
parent 9cb90b80
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment