[% WRAPPER layout.tt title=(edit ? (create ? "New Jobset in Project ‘$project.name’" : "Editing Jobset ‘$project.name:$jobset.name’") : "Jobset ‘$project.name:$jobset.name’") %] [% PROCESS common.tt %] [% IF edit %]
[% END %] [% IF create %]

New Jobset in Project [% project.name %]

[% ELSE %]

Jobset [% project.name %]:[% jobset.name %]

[% END %] [% BLOCK renderInputAlt %] [% IF edit %] [% INCLUDE maybeEditString param=param value=alt.value %]
[% ELSE %] [% INCLUDE maybeEditString param=param value=alt.value %] [% END %] [% END %] [% BLOCK renderInput %] [% IF edit %][% END -%] [% INCLUDE maybeEditString param="$baseName-name" value=input.name extraClass="shortString" %] [% INCLUDE renderSelection curValue=input.type param="$baseName-type" options=inputTypes %] [% FOREACH alt IN input.jobsetinputalts -%] [% IF input.type == "string" && !edit %] "[% HTML.escape(alt.value) %]" [% ELSE %] [% INCLUDE renderInputAlt alt=alt param="$baseName-values" %] [% END %] [% END %] [% IF edit %][% END %] [% END %]

Information[% IF !edit %] [Edit][% END %]

[% IF edit %] [% END %] [% IF !edit %] [% END %]
Identifier: [% INCLUDE maybeEditString param="name" value=jobset.name %]
Description: [% INCLUDE maybeEditString param="description" value=jobset.description %]
Nix expression: [% INCLUDE maybeEditString param="nixexprpath" value=jobset.nixexprpath extraClass="shortString" %] in input [% INCLUDE maybeEditString param="nixexprinput" value=jobset.nixexprinput extraClass="shortString" %]
Enabled: [% INCLUDE renderSelection param="enabled" curValue=jobset.enabled options={"1" = "Yes", "0" = "No"} %]
Enable email notification: [% INCLUDE renderSelection param="enableemail" curValue=jobset.enableemail options={"1" = "Yes", "0" = "No"} %]
Email override: [% INCLUDE maybeEditString param="emailoverride" value=jobset.emailoverride %]
Last checked: [% IF jobset.lastcheckedtime %] [% INCLUDE renderDateTime timestamp = jobset.lastcheckedtime -%][% IF jobset.errormsg -%], evaluation error:
[% HTML.escape(jobset.errormsg) %]
[% ELSE %], no errors [% END %] [% ELSE %] never [% END %]

Inputs

[% FOREACH input IN jobset.jobsetinputs -%] [% INCLUDE renderInput input=input baseName="input-$input.name" %] [% END %] [% IF edit %] [% END %]
Input nameTypeValues

Channels

This jobset provides the following Nix channels:

[% IF !edit %]

Jobs

This jobset currently contains the following [% activeJobs.size %] jobs:

[% IF activeJobs.size == 0 %](none)[% END %] [% FOREACH j IN activeJobs %] [% INCLUDE renderJobName project=project.name jobset=jobset.name job=j.get_column('job') %] [% END %]

This jobset used to contain the following [% inactiveJobs.size %] jobs:

[% IF inactiveJobs.size == 0 %](none)[% END %] [% FOREACH j IN inactiveJobs %] [% INCLUDE renderJobName project=project.name jobset=jobset.name job=j.get_column('job') %] [% END %]

Statistics

[% INCLUDE showBuildStats %] [% END %] [% IF edit %] [% INCLUDE renderInput input="" extraClass="template" id="input-template" baseName="input-template" %]
[% INCLUDE renderInputAlt alt=alt %]

[% IF !create %]

[% END %] [% END %] [% END %]