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

New Project

[% ELSE %]

Project [% project.name %]

[% 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 %]

Jobsets

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

This project has the following jobsets:

[% FOREACH j IN project.jobsets %] [% END %]
Id Description Last evaluated
[% 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]

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 %] [% IF edit %]

[% IF !create %]

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