summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 549ab4a)
raw | patch | inline | side by side (parent: 549ab4a)
author | Jakub Narebski <jnareb@gmail.com> | |
Fri, 15 Dec 2006 22:49:12 +0000 (23:49 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 16 Dec 2006 20:03:22 +0000 (12:03 -0800) |
Add title attribute, which will be shown as popup on mouseover in
graphical web browsers, with full name of ref, including part (type)
removed from the name of ref itself. This is useful to see that this
strange ref is StGIT ref, or it is remote branch, or it is lightweigh
tag (with branch-like name).
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
graphical web browsers, with full name of ref, including part (type)
removed from the name of ref itself. This is useful to see that this
strange ref is StGIT ref, or it is remote branch, or it is lightweigh
tag (with branch-like name).
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl | patch | blob | history |
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index ebf35a1e2bc10002486d45e3796a4f2f336dca8a..79e518a9122d7f0874f2e593aea141b4be28ef18 100755 (executable)
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
$name = $ref;
}
- $markers .= " <span class=\"$type\">" . esc_html($name) . "</span>";
+ $markers .= " <span class=\"$type\" title=\"$ref\">" .
+ esc_html($name) . "</span>";
}
}