This branch removes redundancies from the $distro/+addseries and
$distroseries/+edit-packaging page titles and labels.
It also makes the $distrosourcepackage/+index and $sourcepackage/+index
pages use the label attribute.
DistributionSourcePackageView.label was just returning the title attribute
from the model, so I did the same for the SourcePackageView.label, and
I updated the SourcePackage.title to format the string just like
DistributionSourcePackageView.title, since that was what the browser code
was doing effectively. The only small change I made to that was to use
the DistroSeries.displayname instead of the title, which made the
SourcePackage.title cleaner.
Summary
-------
This branch removes redundancies from the $distro/+addseries and +edit-packaging page titles and labels.
$distroseries/
It also makes the $distrosourcepa ckage/+ index and $sourcepackage/ +index
pages use the label attribute.
DistributionSou rcePackageView. label was just returning the title attribute ew.label, and rcePackageView. title, since that was what the browser code displayname instead of the title, which made the
from the model, so I did the same for the SourcePackageVi
I updated the SourcePackage.title to format the string just like
DistributionSou
was doing effectively. The only small change I made to that was to use
the DistroSeries.
SourcePackage.title cleaner.
Tests
-----
./bin/test -vv -t whatever
Demo and Q/A
------------
* Open http:// launchpad. dev/...
* Check that the <title> and <h1> don't have redundancies. /launchpad. dev/ubuntu/ +addseries /launchpad. dev/ubuntu/ warty/+ source/ mozilla- firefox/ +edit-packaging /launchpad. dev/ubuntu/ warty/+ source/ mozilla- firefox/ /launchpad. dev/ubuntu/ +source/ mozilla- firefox/
* https:/
* https:/
* Check that the <h1> appears above the breadcrumbs instead of below it.
* https:/
* Removed fill-slot="heading" which was doing the exact same thing as using
the label would.
* https:/