enhanced plugin support (#634)

- refactored admin controller and templates
- plugin support for entity actions
- changed column mail to email in customer table
- refactored theme events
This commit is contained in:
Kevin Papst
2019-03-11 14:46:30 +01:00
committed by GitHub
parent 519be2d5a2
commit 3ac72a5c89
104 changed files with 1878 additions and 976 deletions

View File

@@ -103,11 +103,11 @@ trait TimesheetControllerTrait
$this->flashSuccess('action.update.success');
return $this->redirectToRoute($redirectRoute, ['page' => $request->get('page')]);
return $this->redirectToRoute($redirectRoute, ['page' => $request->get('page', 1)]);
}
return $this->render($renderTemplate, [
'entry' => $entry,
'timesheet' => $entry,
'form' => $editForm->createView(),
]);
}
@@ -180,7 +180,7 @@ trait TimesheetControllerTrait
}
return $this->render($renderTemplate, [
'entry' => $entry,
'timesheet' => $entry,
'form' => $createForm->createView(),
]);
}