panel projects - redesign and only show managed project

This commit is contained in:
isUnknown 2024-11-18 14:49:48 +01:00
parent 5c9f450539
commit ec53fae7a0
7 changed files with 104 additions and 29 deletions

View file

@ -13,6 +13,10 @@ class ProjectPage extends Page {
return $steps;
}
public function getCurrentStep() {
return $this->getStepsLabel()[$this->currentStep()];
}
private function createStep($child) {
$files = [];
$uri = null;
@ -69,4 +73,8 @@ class ProjectPage extends Page {
return $stepsLabel[$this->currentStep()->value()];
}
public function printManagers() {
return A::implode($this->managers()->toUsers()->pluck('name'), ', ');
}
}