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

New Project

[% ELSE %]

Project [% project.name %]

[% END %]
[% IF !edit %]

Jobsets

[% IF project.jobsets.size > 0 %]

This project has the following jobsets:

[% FOREACH j IN jobsets %] [% END %]
Id Description Last evaluated
[% IF j.get_column('nrscheduled') > 0 %] Scheduled [% ELSIF j.get_column('nrfailed') == 0 %] Succeeded [% ELSIF j.get_column('nrfailed') > 0 && j.get_column('nrsucceeded') > 0 %] Some Failed [% ELSE %] All Failed [% END %] [% INCLUDE renderJobsetName project = project.name jobset = j.name %] [% HTML.escape(j.description) %] [% INCLUDE renderDateTime timestamp = j.lastcheckedtime %]
[% ELSE %]

No jobsets have been defined yet.

[% END %]

[Create a new jobset]

[% END %]
[% IF edit %]
[% END %]

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

[% IF edit %] [% END %]
Identifier: [% INCLUDE maybeEditString param="name" value=project.name %]
Display name: [% INCLUDE maybeEditString param="displayname" value=project.displayname %]
Description: [% INCLUDE maybeEditString param="description" value=project.description %]
Homepage: [% IF edit %] [% INCLUDE maybeEditString param="homepage" value=project.homepage %] [% ELSE %] [% IF project.homepage %] project.homepage) %]>[% HTML.escape(project.homepage) %] [% ELSE %] (not specified) [% END %] [% END %]
Owner: [% INCLUDE maybeEditString param="owner" value=(project.owner.username || c.user.username) edit=(edit && c.check_user_roles('admin')) %]
Enabled: [% INCLUDE renderSelection param="enabled" curValue=project.enabled options={"1" = "Yes", "0" = "No"} %]
[% IF edit %]

[% IF !create %]

[% END %] [% END %]
[% IF !edit %]

Views

[% IF views.size > 0 %]

Project [% project.name %] has the following views:

[% ELSE %]

Project [% project.name %] has no views.

[% END %]

[Create a new view]

Channels

This project provides the following Nix channels:

[%#

Statistics

[% INCLUDE showBuildStats % ]
%] [% END %]
[% END %]