stable
Clone or download
Read-only
Part of story #10913: Services management Go to project ยป admin ยป services. Edition of a service is now done in a modal. Please note that some simplifications have been made in conditions. For example, legacy docman does not exist anymore, and some check were done against a variable always true (bad naming => bad code): if (((!$ro)||($hp)) && (!$is_legacy_docman || $su)) with $hp = true, and $is_legacy_docman = false if (((!$ro)||(true)) && (!false || $su)) => if ((!$ro || true) && (true || $su)) => if (true && true) => if (true) Change-Id: I9d134ef9b2a996a482dc0d3de5c052cf399ef846
Modified Files
Name | ||||
---|---|---|---|---|
M | site-content/en_US/project/project.tab | +1 | โ35 | Go to diff View file |
M | site-content/fr_FR/project/project.tab | +1 | โ35 | Go to diff View file |
M | src/common/project/Service/ServicePresenter.php | +31 | โ13 | Go to diff View file |
M | src/common/project/Service/ServicesPresenter.php | +1 | โ1 | Go to diff View file |
M | src/common/project/Service/ServicesPresenterBuilder.php | +27 | โ2 | Go to diff View file |
A | src/templates/project/admin/services-edit-modal.mustache | +175 | โ0 | Go to diff View file |
M | src/templates/project/admin/services.mustache | +10 | โ9 | Go to diff View file |
D | src/www/project/admin/editservice.php | +0 | โ223 | Go to diff View file |