select (now() at time zone 'GMT')::timestamp(0) - snapshot as when_ago,
sysname, snapshot, b.status, stage,
operating_system, os_version, compiler, compiler_version, architecture,
- owner_email
+ owner_email,
+ sys_notes_ts::date AS sys_notes_date, sys_notes
from buildsystems s,
build_status b
where name = ?
my $statement = q{
select name, operating_system, os_version, compiler, compiler_version, owner_email,
+ sys_notes_ts::date AS sys_notes_date, sys_notes,
architecture as arch, ARRAY(
select branch || ':' ||
extract(days from now() - l.snapshot)
<tr><th>Architecture</th><td>[% statrows.0.architecture %]</td></tr>
<tr><th>Owner</th><td>[% statrows.0.owner_email %]</td></tr>
</table>
+[% IF statrows.0.sys_notes %]
+ <br />
+ <table>
+ <tr>
+ <th class="head" rowspan="2">System Notes</th>
+ <th>Date</th>
+ <th>Notes</th>
+ </tr>
+ <tr>
+ <td>[% statrows.0.sys_notes_date %]</td>
+ <td>[% statrows.0.sys_notes %]</td>
+ </tr>
+ </table>
+[% END %]
<h3>Branch: [% branch %][% IF statrows.size >= hm %] (last [% hm %] entries shown)[% END %]</h3>
[% BLOCK stdet %]
<tr [% PROCESS cl bgfor=row.stage %]>
%] <tr [%- IF alt %]class="alt"[% END -%]>
[% alt = ! alt %]
<td><input type="checkbox" name="member" value="[% row.name %]" /></td>
- <td>[% row.name %]<br />[% row.owner_email %]</td>
+ <td>[% row.name %]<br />[% row.owner_email %]
+[% IF row.sys_notes %]
+ <br />
+ Notes: ([% row.sys_notes_date %]) [% row.sys_notes %]
+[% END %]
+ </td>
<td>[% row.operating_system %]<br />[% row.os_version %]
[% FOREACH personality IN row.personalities %]
<br / > w.e.f. [% personality.effective_date %]: [% personality.os_version %]