Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: pages/team.tmpl

Issue 29334171: Issue 3410 - Added date sort / format for press releases (Closed)
Patch Set: Fixed rename, typos, and function names Created Jan. 25, 2016, 4:18 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« includes/press/releases.tmpl ('K') | « includes/press/releases.tmpl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pages/team.tmpl
===================================================================
--- a/pages/team.tmpl
+++ b/pages/team.tmpl
@@ -19,7 +19,7 @@
{% endmacro %}
<div class="content-block columns-container four-columns">
-{%- for person in people|datesort(basedate="2011-02-22") %}
+{%- for person in people|randomsortbydate(basedate="2011-02-22") %}
{%- if loop.index % 4 == 1 and not loop.first %}
</div>
<div class="content-block columns-container four-columns">
« includes/press/releases.tmpl ('K') | « includes/press/releases.tmpl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld