** Project changed: launchpad-foundations => launchpad-web
--
"List" macro in templates
https://bugs.launchpad.net/bugs/240432
You received this bug notification because you are a member of Launchpad
Community Development Team, which is the registrant for launchpad-web.
Status in Launchpad Web UI: Triaged
Bug description:
We sometimes need to list items in the UI that are short enough to render as
running text, but have enough templating in them not to belong in browser code.
A single macro ought to let us generate comma-separated lists of things that
each take fmt:url and such to render.
Advanced versions could do things like add an "and" where appropriate ("x and
y" but also "x, y, and z"); cut the list short with an ellipsis if it gets too
long ("alpha, beta, gamma, delta, epsilon, zeta, ..."); let the user "fold"
long lists; or provide other navigation aids.
mpt has been using "tal:comma" for cases where he'd want a macro like this, so
if we ever implement this, grep the templates for that.
_______________________________________________
Mailing list: https://launchpad.net/~launchpad-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~launchpad-dev
More help : https://help.launchpad.net/ListHelp