[% releaseName = (result.releasename || "(No name)") -%] [% WRAPPER layout.tt title="View $releaseName" %] [% PROCESS common.tt %] [% PROCESS "product-list.tt" %] [% USE HTML %]

View [% view.project.name %]:[% view.name %] result [% result.id %][% IF result.releasename %] ([% result.releasename %])[% END %]

Finished building on [% INCLUDE renderDateTime timestamp = result.timestamp %].

[% IF result.status == 1 %]

Note: One or more of the jobs in the view did not build correctly. See below for details.

[% ELSIF result.status == 2 %]

Note: One or more of the jobs in the view have not been built (yet). See below for details.

[% END %] [% FOREACH j IN result.jobs %]

[% IF j.build %][% END %] [% INCLUDE renderViewJobName job=j.job %] [% IF j.build %][% END %]

[% IF j.build %] [% IF j.build.resultInfo.buildstatus == 0 %] [% IF j.build.buildproducts %] [% p = jobNames.${j.job.job} > 1 ? "-${j.build.system}" : ""; INCLUDE renderProductList build=j.build latestRoot=['/view' project.name view.name 'latest' "${j.job.job}${p}"] %] [% ELSE %]

Succeeded.

[% END %] [% ELSE %]

Build failed

[% END %] [% ELSE %]

Build not (yet) performed.

[% END %] [% END %] [% IF c.user_exists %]

[Release]

[% END %] [% END %]