Adding a basic external project status page, accessible via /build-status/view/{id}. Fixes #353
This commit is contained in:
parent
a348094d01
commit
15b880b2f0
4 changed files with 289 additions and 1 deletions
|
|
@ -357,6 +357,14 @@ class ProjectController extends \PHPCI\Controller
|
|||
$field->setRows(6);
|
||||
$form->addField($field);
|
||||
|
||||
$field = new Form\Element\Checkbox('allow_public_status');
|
||||
$field->setRequired(false);
|
||||
$field->setLabel('Enable public status page and image for this project?');
|
||||
$field->setContainerClass('form-group');
|
||||
$field->setCheckedValue(1);
|
||||
$field->setValue(1);
|
||||
$form->addField($field);
|
||||
|
||||
$field = new Form\Element\Submit();
|
||||
$field->setValue('Save Project');
|
||||
$field->setContainerClass('form-group');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue