- [% FOREACH input IN build.inputs -%]
+ [% FOREACH input IN build.inputs %]
[% input.name %]
[% type = input.type; inputTypes.$type %]
@@ -336,7 +336,7 @@
[% IF input.revision %][% input.revision %][% END %]
[% input.path %]
- [% END -%]
+ [% END %]
@@ -375,14 +375,14 @@
Build
Input name
System
Timestamp
- [% FOREACH input IN build.dependents -%]
+ [% FOREACH input IN build.dependents %]
[% INCLUDE renderFullBuildLink build=input.build %]
[% input.name %]
[% input.build.system %]
[% INCLUDE renderDateTime timestamp = input.build.timestamp %]
- [% END -%]
+ [% END %]
diff --git a/src/root/channel-contents.tt b/src/root/channel-contents.tt
index fd3f7228..0c5a899b 100644
--- a/src/root/channel-contents.tt
+++ b/src/root/channel-contents.tt
@@ -59,11 +59,11 @@ install the package simply by clicking on the packages below.
- [%- END -%]
- [%- IF showDescription -%]
+ [% END %]
+ [% IF showDescription %]
[% build.description %]
- [%- END -%]
+ [% END %]
- [%- END -%]
-[%- END -%]
+ [% END %]
+[% END %]
-[%- BLOCK renderBuildListFooter -%]
+[% BLOCK renderBuildListFooter %]
-[%- END -%]
+[% END %]
-[%- BLOCK renderBuildList -%]
-[%- INCLUDE renderBuildListHeader -%]
-[%- INCLUDE renderBuildListBody -%]
-[%- INCLUDE renderBuildListFooter -%]
-[%- END -%]
+[% BLOCK renderBuildList %]
+[% INCLUDE renderBuildListHeader %]
+[% INCLUDE renderBuildListBody %]
+[% INCLUDE renderBuildListFooter %]
+[% END %]
-[%- BLOCK renderLink -%][% title %][%- END -%]
+[% BLOCK renderLink %][% title %][% END %]
-[%- BLOCK showBuildStats -%]
+[% BLOCK showBuildStats %]
@@ -179,21 +179,21 @@
-[%- END -%]
+[% END %]
-[% BLOCK renderViewJobName -%]
-[% IF job.description; HTML.escape(job.description); ELSE %][% job.job %] ([% job.attrs %])[% END -%]
-[% END -%]
+[% BLOCK renderViewJobName %]
+[% IF job.description; HTML.escape(job.description); ELSE %][% job.job %] ([% job.attrs %])[% END %]
+[% END %]
-[% BLOCK maybeLink -%]
- [% IF uri %] uri, class => class) %][% IF confirmmsg %]onclick="javascript:return confirm('[% confirmmsg %]')"[% END %]>[% content %][% ELSE; content; END -%]
-[% END -%]
+[% BLOCK maybeLink %]
+ [% IF uri %] uri, class => class) %][% IF confirmmsg %]onclick="javascript:return confirm('[% confirmmsg %]')"[% END %]>[% content %][% ELSE; content; END %]
+[% END %]
-[% BLOCK maybeButton -%]
- [% IF uri %] uri) %][% IF confirmmsg %]onclick="javascript:return confirm('[% confirmmsg %]')"[% END %]>[% content %][% ELSE; content; END -%]
-[% END -%]
+[% BLOCK maybeButton %]
+ [% IF uri %] uri) %][% IF confirmmsg %]onclick="javascript:return confirm('[% confirmmsg %]')"[% END %]>[% content %][% ELSE; content; END %]
+[% END %]
[% BLOCK renderSelection %]
[% IF edit %]
@@ -222,43 +222,43 @@
[% BLOCK maybeEditString;
- IF edit -%]
+ IF edit %]
param, name => param, value => value) %] />
[% ELSE;
HTML.escape(value);
- END -%]
-[% END -%]
-
-[% BLOCK renderFullBuildLink %]
-[% INCLUDE renderFullJobNameOfBuild build=build %] build [% build.id %][% -%]
+ END %]
[% END %]
-[%- BLOCK renderBuildStatusIcon -%]
- [%- finished = build != undef ? build.finished : 1 -%]
- [%- busy = busy != undef ? busy : build.busy -%]
- [%- buildstatus = buildstatus != undef ? buildstatus : build.buildstatus -%]
- [%- IF finished -%]
- [%- IF buildstatus == 0 -%]
+[% BLOCK renderFullBuildLink %]
+[% INCLUDE renderFullJobNameOfBuild build=build %] build [% build.id %][% %]
+[% END %]
+
+[% BLOCK renderBuildStatusIcon %]
+ [% finished = build != undef ? build.finished : 1 %]
+ [% busy = busy != undef ? busy : build.busy %]
+ [% buildstatus = buildstatus != undef ? buildstatus : build.buildstatus %]
+ [% IF finished %]
+ [% IF buildstatus == 0 %]
- [%- ELSIF buildstatus == 1 -%]
+ [% ELSIF buildstatus == 1 %]
- [%- ELSIF buildstatus == 2 -%]
+ [% ELSIF buildstatus == 2 %]
- [%- ELSIF buildstatus == 4 -%]
+ [% ELSIF buildstatus == 4 %]
- [%- ELSIF buildstatus == 5 -%]
+ [% ELSIF buildstatus == 5 %]
- [%- ELSIF buildstatus == 6 -%]
+ [% ELSIF buildstatus == 6 %]
- [%- ELSE -%]
+ [% ELSE %]
- [%- END -%]
- [%- ELSIF busy -%]
+ [% END %]
+ [% ELSIF busy %]
- [%- ELSE -%]
+ [% ELSE %]
- [%- END -%]
-[%- END -%]
+ [% END %]
+[% END %]
[% BLOCK renderStatus %]
[% IF build.finished %]
@@ -286,7 +286,7 @@
[% ELSE %]
Scheduled to be built
[% END %]
-[% END -%]
+[% END %]
[% BLOCK renderInputValue %]
[% IF input.type == "build" || input.type == "sysbuild" %]
@@ -415,17 +415,17 @@
[% END %]
-[% BLOCK renderShortEvalInput -%]
- [%- IF input.type == "svn" || input.type == "svn-checkout" || input.type == "bzr" || input.type == "bzr-checkout" -%]
- r[%- input.revision -%]
- [%- ELSIF input.type == "git" -%]
+[% BLOCK renderShortEvalInput %]
+ [% IF input.type == "svn" || input.type == "svn-checkout" || input.type == "bzr" || input.type == "bzr-checkout" %]
+ r[% input.revision %]
+ [% ELSIF input.type == "git" %]
[% input.revision.substr(0, 7) %]
- [%- ELSIF input.type == "build" || input.type == "sysbuild" -%]
+ [% ELSIF input.type == "build" || input.type == "sysbuild" %]
[% input.dependency.id %]
- [%- ELSE -%]
- [%- input.revision -%]
- [%- END -%]
-[%- END %]
+ [% ELSE %]
+ [% input.revision %]
+ [% END %]
+[% END %]
[% BLOCK renderEvals %]
@@ -439,19 +439,19 @@
- [%- FOREACH e IN evals; eval = e.eval;
- link = c.uri_for(c.controller('JobsetEval').action_for('view'), [eval.id]) -%]
+ [% FOREACH e IN evals; eval = e.eval;
+ link = c.uri_for(c.controller('JobsetEval').action_for('view'), [eval.id]) %]
Comparisons are relative to [% INCLUDE renderFullJobsetName
project=otherEval.jobset.project.name jobset=otherEval.jobset.name %]
evaluation [% otherEval.id %].
-[%- END -%]
+[% END %]
-[%- BLOCK renderSome -%]
+[% BLOCK renderSome %]
[% size = builds.size; max = full ? size : 30; %]
[% INCLUDE renderBuildListBody builds=builds.slice(0, (size > max ? max : size) - 1)
hideProjectName=1 hideJobsetName=1 %]
@@ -35,13 +35,13 @@ c.uri_for(c.controller('JobsetEval').action_for('view'),
[% IF removed.size > 0 %]
Removed jobs
[% size = removed.size; max = full ? size : 30; %]
- [%- FOREACH j IN removed.slice(0,(size > max ? max : size) - 1) -%]
+ [% FOREACH j IN removed.slice(0,(size > max ? max : size) - 1) %]
[% INCLUDE renderJobName project=project.name jobset=jobset.name job=j.job %]
[% j.system %]
- [%- END -%]
+ [% END %]
[% IF size > max; params = c.req.params; params.full = 1 %]
- [% IF !edit -%]
+ [% IF !edit %]
- [% IF jobset.errormsg -%]
+ [% IF jobset.errormsg %]
Evaluation errors
@@ -181,7 +181,7 @@
Last checked:
[% IF jobset.lastcheckedtime %]
- [% INCLUDE renderDateTime timestamp = jobset.lastcheckedtime -%][% IF jobset.errormsg -%], with errors!
+ [% INCLUDE renderDateTime timestamp = jobset.lastcheckedtime %][% IF jobset.errormsg %], with errors!
[% ELSE %], no errors
[% END %]
[% ELSE %]
@@ -195,7 +195,7 @@
[% INCLUDE renderInputs %]
- [% IF !edit -%]
+ [% IF !edit %]
Jobs
diff --git a/src/root/layout.tt b/src/root/layout.tt
index 6311335e..6af6cf9e 100644
--- a/src/root/layout.tt
+++ b/src/root/layout.tt
@@ -1,5 +1,5 @@
-[% USE date -%]
-[% USE HTML -%]
+[% USE date %]
+[% USE HTML %]
[% PROCESS common.tt %]
diff --git a/src/root/log.tt b/src/root/log.tt
index be1711ac..78c11ed5 100644
--- a/src/root/log.tt
+++ b/src/root/log.tt
@@ -11,7 +11,7 @@
-[% logtext -%]
+[% logtext %]
[% END %]
diff --git a/src/root/plain-reload.tt b/src/root/plain-reload.tt
index c9db1102..f078b6aa 100644
--- a/src/root/plain-reload.tt
+++ b/src/root/plain-reload.tt
@@ -19,7 +19,7 @@
[% END %]