panel projects - redesign and only show managed project
This commit is contained in:
parent
5c9f450539
commit
ec53fae7a0
7 changed files with 104 additions and 29 deletions
|
|
@ -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'), ', ');
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue