Re: Alternate colors - when returing a list.

2006-10-20 Thread DavidA
[EMAIL PROTECTED] wrote: > It's really a fine point, and I probably will use cycle next time > something like this rolls around, but I don't like it putting an > unnecessary class in there. > > If I could {% cycle even, "" %} or something, I'd probably be > completely sold. I recently migrated a

Re: Alternate colors - when returing a list.

2006-10-20 Thread [EMAIL PROTECTED]
It's really a fine point, and I probably will use cycle next time something like this rolls around, but I don't like it putting an unnecessary class in there. If I could {% cycle even, "" %} or something, I'd probably be completely sold. --~--~-~--~~~---~--~~ You

Re: Alternate colors - when returing a list.

2006-10-19 Thread Clint Ecker
This is much less ugly, IMO: ... Obviously your version can be changed from 2 to 4 and highlight ever 4th line, but I think that cycle does the job for 99% of people. Clint On 10/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Cycle is interesting (haven't used it), but here's how I do

Re: Alternate colors - when returing a list.

2006-10-19 Thread Don Arbow
On Oct 19, 2006, at 7:35 AM, [EMAIL PROTECTED] wrote: > > Cycle is interesting (haven't used it), but here's how I do it: Works > well, and it appears to me it may have some advantages over cycle. > > Note that cycle is not restricted to just two rows, you can have as many alternating colors

Re: Alternate colors - when returing a list.

2006-10-19 Thread coulix
cycle around css class name. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EM

Re: Alternate colors - when returing a list.

2006-10-19 Thread [EMAIL PROTECTED]
Cycle is interesting (haven't used it), but here's how I do it: Works well, and it appears to me it may have some advantages over cycle. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To pos

Re: Alternate colors - when returing a list.

2006-10-19 Thread Jonathan Buchanan
On 10/19/06, MerMer <[EMAIL PROTECTED]> wrote: > > Does anybody know of a filter/tag that will return a table list with > rows of an alternate color. > I have a hazy recollection that I've seen this somewhere - but I've > relooked through the documentation and can't seem to find it. > > MerMer So

Re: Alternate colors - when returing a list.

2006-10-19 Thread Malcolm Tredinnick
On Thu, 2006-10-19 at 01:56 -0700, MerMer wrote: > Does anybody know of a filter/tag that will return a table list with > rows of an alternate color. > I have a hazy recollection that I've seen this somewhere - but I've > relooked through the documentation and can't seem to find it. What you may

Alternate colors - when returing a list.

2006-10-19 Thread MerMer
Does anybody know of a filter/tag that will return a table list with rows of an alternate color. I have a hazy recollection that I've seen this somewhere - but I've relooked through the documentation and can't seem to find it. MerMer --~--~-~--~~~---~--~~ You rec