version 1.14.1 (#2532)
* no back links in modal pages * remove unused service links to bountysource and gitter * add validation for budget and time-budget fields * display time budget if set * remove console log * sanitize DDE payloads * do not show status and name in version string
This commit is contained in:
@@ -20,10 +20,6 @@ abstract class AbstractTimesheetSubscriber extends AbstractActionsSubscriber
|
||||
|
||||
/** @var Timesheet $timesheet */
|
||||
$timesheet = $payload['timesheet'];
|
||||
if (!$event->isIndexView()) {
|
||||
$event->addBack($this->path($routeListing));
|
||||
}
|
||||
|
||||
if ($timesheet->getId() !== null) {
|
||||
if ($this->isGranted('edit', $timesheet)) {
|
||||
$class = $event->isView('edit') ? '' : 'modal-ajax-form';
|
||||
|
||||
@@ -20,11 +20,6 @@ class PermissionsSubscriber extends AbstractActionsSubscriber
|
||||
|
||||
public function onActions(PageActionsEvent $event): void
|
||||
{
|
||||
// the "create role" page
|
||||
if (!$event->isIndexView() && $this->isGranted('role_permissions')) {
|
||||
//$event->addBack($this->path('admin_user_permissions'));
|
||||
}
|
||||
|
||||
if ($this->isGranted('role_permissions')) {
|
||||
$event->addCreate($this->path('admin_user_roles'), !$event->isView('role'));
|
||||
}
|
||||
|
||||
@@ -37,10 +37,6 @@ class TagSubscriber extends AbstractActionsSubscriber
|
||||
$name = $tag->getName();
|
||||
}
|
||||
|
||||
if (!$event->isIndexView() && $this->isGranted('view_tag')) {
|
||||
//$event->addBack($this->path('tags'));
|
||||
}
|
||||
|
||||
if ($id === null) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -26,10 +26,6 @@ class TeamSubscriber extends AbstractActionsSubscriber
|
||||
/** @var Team $team */
|
||||
$team = $payload['team'];
|
||||
|
||||
if (!$event->isIndexView() && $this->isGranted('view_tag')) {
|
||||
//$event->addBack($this->path('admin_team'));
|
||||
}
|
||||
|
||||
if ($team->getId() === null) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user