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

Re: [PATCH 1/2] gitweb: Style all tables using CSS

From
Jakub Narebski <jnareb@gmail.com>
Date
Nov 19, 2007, 15:08 UTC
Message-ID
<200711191608.46955.jnareb@gmail.com>
In-Reply-To
<87d4u671kx.fsf@gollum.intra.norang.ca>
Bernt Hansen wrote:
Show 7 quoted lines
> Jakub Narebski <jnareb@gmail.com> writes:
> 
> > -	print "<table cellspacing=\"0\">\n" .
> > +	print "<table class=\"projects_list\">\n" .
> 
> Should this class be "project_list" instead?  I don't see a definition
> of "projects_list" (plural) anywhere.

Now that you mentioned it, I have checked and... we have a bit of inconsistency in gitweb here. There are $projects_list and $projects_list_description_width variables (plural), git_get_projects_list subroutine (also plural), but view is called 'project_list', it is generated by git_project_list subroutine using git_get_project_list_from_file and git_project_lis_body subroutines.

I am not native English speaker: gitweb mean here "list of projects". We should probably uniqueify number to either plural or singular, and not mixed as it is now. But this is a bit of nitpicking/paintshed...

Changing action name from 'project_list' would be hard because of backward compatibility... _if_ we officially used this action; it is default action when no project is selected, and all links use this form.

-- 
Jakub Narebski
Poland
Previous: Bernt HansenNext: Jakub Narebski
Message 4 of 5 in “gitweb: CSS cleanup, part 1”
  1. 0/2 gitweb: CSS cleanup, part 1Jakub Narebski, Nov 19, 2007
  2. 1/2 gitweb: Style all tables using CSSJakub Narebski, Nov 19, 2007
  3. Bernt HansenNov 19, 2007
  4. Jakub NarebskiNov 19, 2007
  5. 2/2 gitweb: Put project README in div.readme, fix its paddingJakub Narebski, Nov 19, 2007

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.