git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH/RFC] gitweb: Add title attribute with unshortened value for table cells

From
Junio C Hamano <junkio@cox.net>
Date
Jun 20, 2006, 09:15 UTC
Message-ID
<7vd5d4chmg.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<200606201012.31684.jnareb@gmail.com>
Jakub Narebski <jnareb@gmail.com> writes:
> Doesn't work well with values outside us-ascii, but that might be
> considered web browser bug (misfeature), not a bug in gitweb.
That's sad.
Are you sure about it?

What does start_td({-title=>"blah"}) produce? <td title="blah">? If so, is http://members.cox.net/junkio/t.html close to what you are trying to achieve here?

>  		      "<td>$pr->{'descr'}</td>\n" .
> -		      "<td><i>" . chop_str($pr->{'owner'}, 15) . "</i></td>\n";
> +		      $cgi->start_td({-title => $pr->{'owner'}}) . chop_str($pr->{'owner'}, 15) . "</i></td>\n";

Where did the opening <i> go? Not that I care about italics, since I think this should all be done with stylesheet, but I do care about unbalanced pairs.

BTW, I haven't nailed down the procedure to update the kernel.org gitweb installations (I suspect the burden is on me since Kay orphaned gitweb onto me).

I wonder if there is somebody who is willing to run gitweb from the "next" branch on some public site, so that I can be reasonably confident before breaking one of the most important infrastructure of the kernel development? Volunteers?

Previous: Jakub NarebskiNext: Timo Hirvonen
Message 2 of 7 in “gitweb: Add title attribute with unshortened value for table cells”
  1. gitweb: Add title attribute with unshortened value for table cellsJakub Narebski, Jun 20, 2006
  2. Junio C HamanoJun 20, 2006
  3. Timo HirvonenJun 20, 2006
  4. Jakub NarebskiJun 20, 2006
  5. Timo HirvonenJun 20, 2006
  6. Jakub NarebskiJun 20, 2006
  7. David WoodhouseJun 20, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.