From 3adfbb8557675cd7bf5b8d347c64ddcf1c794603 Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Sat, 16 Oct 2010 16:54:35 +0000 Subject: [PATCH] only show personality changes --- templates/members.tt | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/templates/members.tt b/templates/members.tt index 68aafb4..d55e7a5 100644 --- a/templates/members.tt +++ b/templates/members.tt @@ -34,14 +34,20 @@ [% END %] [% row.operating_system %]
[% row.os_version %] - [% FOREACH personality IN row.personalities %] + [% prev_osver = row.osversion; + FOREACH personality IN row.personalities; + IF personality.os_version != prev_osver + %]
w.e.f. [% personality.effective_date %]: [% personality.os_version %] - [% END %] + [% prev_osver = personality.os_version; END; END %] [% row.compiler %]
[% row.compiler_version %] - [% FOREACH personality IN row.personalities %] + [% prev_compver = row.compiler_version; + FOREACH personality IN row.personalities; + IF personality.compiler_version != prev_compver + %]
w.e.f. [% personality.effective_date %]: [% personality.compiler_version %] - [% END %] + [% prev_compver = personality.compiler_version; END; END %] [% row.arch %] [% IF ! row.branches ; ' ' ; END -%] -- 2.30.2