fix home page for new downloads location (retry)
[buildfarm-server.git] / templates / members.tt
index 68aafb4733a29d83b50e80af49d0022667f6d636..e490b6417dbbafd0c93a0edbce64d2a07c62bbd2 100644 (file)
@@ -1,3 +1,10 @@
+[%#
+
+Copyright (c) 2003-2010, Andrew Dunstan
+
+See accompanying License file for license details
+
+-%]
 [% WRAPPER 'page.tt' 
        title = 'PostgreSQL BuildFarm Members'
        bodyclass = 'members'
 [% END %]
     </td>
     <td>[% row.operating_system %]<br />[% row.os_version %]
-       [% FOREACH personality IN row.personalities %]
+       [% prev_osver = row.osversion; 
+           FOREACH personality IN row.personalities;
+          IF personality.os_version != prev_osver
+         %]
         <br / > w.e.f. [% personality.effective_date %]: [% personality.os_version %]
-        [% END %]
+        [% prev_osver = personality.os_version; END; END %]
     </td>
     <td>[% row.compiler %]<br />[% row.compiler_version %]
-       [% FOREACH personality IN row.personalities %]
+       [% prev_compver = row.compiler_version; 
+          FOREACH personality IN row.personalities;
+          IF personality.compiler_version != prev_compver
+        %]
         <br / > w.e.f. [% personality.effective_date %]: [% personality.compiler_version %]
-        [% END %]
+        [% prev_compver = personality.compiler_version; END; END %]
     </td>
     <td>[% row.arch %]</td>
     <td class="branch">[% IF ! row.branches ; '&nbsp;' ; END -%]