Author: floguy
Date: Mon Sep 22 01:56:18 2008
New Revision: 926
Modified:
trunk/pinax/templates/projects/projects.html
Log:
Fixed date grouping bug
Modified: trunk/pinax/templates/projects/projects.html
==============================================================================
--- trunk/pinax/templates/projects/projects.html (original)
+++ trunk/pinax/templates/projects/projects.html Mon Sep 22 01:56:18 2008
@@ -37,16 +37,11 @@
{% display_ordering %}
{% autopaginate objects %}
- {% regroup objects by created.date as projects_by_created %}
-
- {% for date in projects_by_created %}
- <h2 class="creation_date">{{ date.grouper|
naturalday:_("MONTH_DAY_FORMAT")|capfirst }}</h2>
- <dl>
- {% for project in date.list %}
- {% show_project project %}
- {% endfor %}
- </dl>
- {% endfor %}
+ <dl>
+ {% for project in objects %}
+ {% show_project project %}
+ {% endfor %}
+ </dl>
{% paginate %}
{% else %}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---