Comment 4 for bug 415814

Revision history for this message
Matthew Paul Thomas (mpt) wrote :

Launchpad uses two general types of table.

One is a key-value table: two columns, labels on the left, data on the right. For example:
* Priority, Definition, etc for a blueprint <https://blueprints.launchpad.net/nav/+spec/offline-devices-report>
* Project, Status, etc for a project series <https://edge.launchpad.net/bzr/bzr.dev>
* Disk usage, Signing key etc for a PPA <https://launchpad.net/~ubuntu-toolchain/+archive/ppa>.
All these kinds of table should use class="summary", as blueprint pages already do. (Perhaps "key-value" would be a better name for the class.) This bug report is about adding that class to the PPA metadata table.

The other type is a listing table: any number of columns, heading cells on the top, a dynamic number of rows. For example:
* Summary, Importance, Status for bug reports <https://bugs.launchpad.net/bzr/+bugs>
* Version, Expected Date, etc for milestones and releases <https://launchpad.net/bzr/bzr.dev>
* Source, Uploader, etc for packages <https://launchpad.net/~ubuntu-toolchain/+archive/ppa>.
All these kinds of table should use class="listing", and (as far as I know) all of them already do.

If the bold heading for listing tables is being overridden by another style sheet, you are doing something wrong: either your style sheets are in the wrong order, or you have competing style definitions for table.listing, or you are inappropriately using !important somewhere. But whichever it is, it is *not relevant* to this bug report. This bug report is solely about the style of the PPA metadata table, and I have verified with Firebug that it can be fixed with the one-line change I described in the initial report.