[% WRAPPER layout.tt title=(edit ? (create ? "New Project" : "Editing Project ‘$project.name’") : "Project ‘$project.name’") %] [% PROCESS common.tt %] [% IF create %]
This project has the following jobsets:
Id | Description | Last evaluated | Success | [% IF c.check_user_roles('admin') %]Options | [% END%]||
---|---|---|---|---|---|---|
[% IF j.get_column('nrscheduled') > 0 %] [% ELSIF j.get_column('nrfailed') == 0 %] [% ELSIF j.get_column('nrfailed') > 0 && j.get_column('nrsucceeded') > 0 %] [% ELSE %] [% END %] | [% INCLUDE renderJobsetName project = project.name jobset = j.name %] | [% HTML.escape(j.description) %] | [% INCLUDE renderDateTime timestamp = j.lastcheckedtime %] | [% IF j.get_column('nrtotal') > 0 %] [% successrate = ( j.get_column('nrsucceeded') / j.get_column('nrtotal') )*100 %] [% IF j.get_column('nrscheduled') > 0 %] [% class = '' %] [% ELSIF successrate < 25 %] [% class = 'red' %] [% ELSIF successrate < 75 %] [% class = 'orange' %] [% ELSIF successrate <= 100 %] [% class = 'green' %] [% END %] [% END %]
[% successrate FILTER format('%d') %]%
[% IF j.get_column('nrscheduled') > 0 %]
[% j.get_column('nrscheduled') %] builds still running
[% END %]
|
[% j.get_column('nrsucceeded') %]/[% j.get_column('nrtotal') %]
|
[% IF c.check_user_roles('admin') %]
[ [% INCLUDE maybeLink uri = c.uri_for(c.controller('Admin').action_for('force_eval'), project.name, j.name) content = "Evaluate" confirmmsg = ("Are you sure you want to force evaluation of jobset " _ project.name _ ":" _ j.name _ "?") %] | [% IF j.hidden %] [% INCLUDE maybeLink uri = c.uri_for('/jobset' project.name j.name 'unhide') content = "Unhide" %] [% ELSE %] [% INCLUDE maybeLink uri = c.uri_for('/jobset' project.name j.name 'hide') content = "Hide" %] [% END %] ] | [% END%]
No jobsets have been defined yet.
[% END %]Project [% project.name %] has the following views:
Project [% project.name %] has no views.
[% END %]This project provides the following Nix channels: