diff --git a/src/root/build.tt b/src/root/build.tt index 93629427..cf8e454d 100644 --- a/src/root/build.tt +++ b/src/root/build.tt @@ -37,7 +37,7 @@ END; seen.${step.drvpath} = 1; log = c.uri_for('/build' build.id 'nixlog' step.stepnr); %]
Build ID: | -[% build.id %] | +[% HTML.escape(build.id) %] | |||
---|---|---|---|---|---|
Status: | @@ -168,9 +168,9 @@ END; END; %]; [%+ IF nrFinished == nrConstituents && nrFailedConstituents == 0 %] - all [% nrConstituents %] constituent builds succeeded + all [% HTML.escape(nrConstituents) %] constituent builds succeeded [% ELSE %] - [% nrFailedConstituents %] out of [% nrConstituents %] constituent builds failed + [% HTML.escape(nrFailedConstituents) %] out of [% HTML.escape(nrConstituents) %] constituent builds failed [% IF nrFinished < nrConstituents %] ([% nrConstituents - nrFinished %] still pending) [% END %] @@ -180,24 +180,24 @@ END;|||||
System: | -[% build.system %] | +[% build.system | html %] | |||
Release name: | -[% HTML.escape(build.releasename) %] | +[% build.releasename | html %] | |||
Nix name: | -[% build.nixname %] | +[% build.nixname | html %] | |||
Part of: | - evaluation [% eval.id %] + evaluation [% HTML.escape(eval.id) %] [% IF nrEvals > 1 +%] (and [% nrEvals - 1 %] others)[% END %] | ||||
Nix expression: | -file [% HTML.escape(eval.nixexprpath) %] in input [% HTML.escape(eval.nixexprinput) %] | +file [% eval.nixexprpath | html %] in input [% eval.nixexprinput | html %] | |||
Nix name: | -[% build.nixname %] | +[% build.nixname | html %] | |||
Short description: | @@ -361,11 +361,11 @@ END;|||||
System: | -[% build.system %] | +[% build.system | html %] | |||
Derivation store path: | -[% build.drvpath %] | +[% build.drvpath | html %] | |||
Output store paths: | @@ -412,9 +412,9 @@ END;|||||
c.uri_for('/job' project.name jobset.name job 'metric' metric.name)) %]">[%HTML.escape(metric.name)%] | -[%metric.value%] | -[%metric.unit%] | +c.uri_for('/job' project.name jobset.name job 'metric' metric.name)) %]">[%metric.name | html%] | +[%HTML.escape(metric.value)%] | +[% HTML.escape(metric.unit) %] |
[% INCLUDE renderFullBuildLink build=input.build %] | -[% input.name %] | -[% input.build.system %] | +[% input.name | html %] | +[% input.build.system | html %] | [% INCLUDE renderDateTime timestamp = input.build.timestamp %] |