It creates the 'registering' slot on the base-layout which can be used to present information styled (discreetly) at the right of the page label, e.g.:
'registered by Celso Providelo on 2009-01-01'
== Pre-implementation notes ==
I've followed Curtis suggestion and implemented the template slot, this way pages needing and in a position to fill it (almost all +index pages) will look nicer.
Ideally, this slot could be filled automatically for context providing IRegistration (basically 'registrant' and 'date_created'). However adapting our content classes will take longer than we can afford in 3.0. That's mainly why being able to fill the slot ad-hoc might be good enough for now.
== Tests ==
./bin/test -vv -t base-layout.txt
== Demo and Q/A ==
I've filled the 'registering' slot in some key pages, primarily for illustration how it works.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
= Summary =
This branch implements the easy-solution for https:/ /bugs.edge. launchpad. net/launchpad- foundations/ +bug/412715
It creates the 'registering' slot on the base-layout which can be used to present information styled (discreetly) at the right of the page label, e.g.:
'registered by Celso Providelo on 2009-01-01'
== Pre-implementation notes ==
I've followed Curtis suggestion and implemented the template slot, this way pages needing and in a position to fill it (almost all +index pages) will look nicer.
Ideally, this slot could be filled automatically for context providing IRegistration (basically 'registrant' and 'date_created'). However adapting our content classes will take longer than we can afford in 3.0. That's mainly why being able to fill the slot ad-hoc might be good enough for now.
== Tests ==
./bin/test -vv -t base-layout.txt
== Demo and Q/A ==
I've filled the 'registering' slot in some key pages, primarily for illustration how it works.
https:/ /launchpad. dev/ubuntu /launchpad. dev/ubuntu/ hoary /launchpad. dev/ubuntu/ +source/ mozilla- firefox/ 0.9/+build/ 8
https:/
https:/
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: registry/ templates/ distroseries- details. pt registry/ templates/ distroseries- index.pt registry/ templates/ distribution- index.pt soyuz/templates /build- index.pt app/browser/ tests/base- layout. txt app/templates/ base-layout. pt /launchpad/ icing/style- 3-0.css app/browser/ tests/testfiles /main-registeri ng.pt
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/canonical
lib/lp/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkq w2yQACgkQ7KBXuX yZSjBWdgCgnoQtQ MuSWOy25FmWbK8x bopu FirNwXKx/ 9NATnOClSlNuEGw
JwkAn11+
=83+m
-----END PGP SIGNATURE-----