build.tt: Fix reference to build.ischannel.

It's actually lower-case _despite_ the spelling in the SQL file(s),
because the schema auto-generator from DBIx::Class doesn't take it into
account because it's working on SQLite and the latter seems to ignore
case.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2015-04-26 18:03:42 +02:00
parent d1de12cac1
commit f1dd08afc8
No known key found for this signature in database
GPG key ID: D0EBD0EC8C2DC961

View file

@ -188,7 +188,7 @@
<td>[% IF cachedBuild; INCLUDE renderFullBuildLink build=cachedBuild; ELSE %]<em>unknown</em>[% END %]</td> <td>[% IF cachedBuild; INCLUDE renderFullBuildLink build=cachedBuild; ELSE %]<em>unknown</em>[% END %]</td>
</tr> </tr>
[% END %] [% END %]
[% IF (!isAggregate || !build.isChannel) && build.finished; actualBuild = build.iscachedbuild ? cachedBuild : build %] [% IF (!isAggregate || !build.ischannel) && build.finished; actualBuild = build.iscachedbuild ? cachedBuild : build %]
[% IF actualBuild %] [% IF actualBuild %]
<tr> <tr>
<th>Duration:</th> <th>Duration:</th>
@ -200,7 +200,7 @@
<td>[% INCLUDE renderDateTime timestamp = build.stoptime; %]</td> <td>[% INCLUDE renderDateTime timestamp = build.stoptime; %]</td>
</tr> </tr>
[% END %] [% END %]
[% IF (!isAggregate || !build.isChannel) && buildLogExists(build) %] [% IF (!isAggregate || !build.ischannel) && buildLogExists(build) %]
<tr> <tr>
<th>Logfile:</th> <th>Logfile:</th>
<td> <td>
@ -215,7 +215,7 @@
</tr> </tr>
</table> </table>
[% IF build.isChannel || (build.buildproducts && !isAggregate) %] [% IF build.ischannel || (build.buildproducts && !isAggregate) %]
<h3>Build products</h3> <h3>Build products</h3>