#103789Add close button to page layout, if returnUrl is set
Description
If the page layout is opened from another module, it would be helpful to show a close button and return to the calling module on close.
Similar behaviour already exists for the edit form where you can pass a return URL either with
- backend:uri.editRecord ViewHelper (with returnUrl argument)
- UriBuilder::buildUriFromRoute(‘record_edit’ ..
(both are effectively the same, as the editRecord ViewHelper calls buildUriFromRoute.
Possible implementation
- if an argument “returnUrl” is set, show a close button in the page module, using this returnUrl as link
Reviews 1
History 213
-
Gerrit Code Review pushed patch set 1 for main to change 84143 status
NewUnder Review 05/04/24, 07:40 -
Gerrit Code Review pushed patch set 2 for main to change 84143 05/04/24, 07:46
-
Gerrit Code Review pushed patch set 3 for main to change 84143 05/04/24, 08:26
-
Gerrit Code Review pushed patch set 4 for main to change 84143 09/10/24, 20:20
-
Gerrit Code Review pushed patch set 5 for main to change 84143 09/11/24, 05:42
-
Gerrit Code Review pushed patch set 6 for main to change 84143 09/11/24, 11:27
-
Gerrit Code Review pushed patch set 7 for main to change 84143 09/11/24, 11:30
-
Gerrit Code Review pushed patch set 8 for main to change 84143 09/11/24, 11:34
-
Gerrit Code Review pushed patch set 9 for main to change 84143 09/11/24, 11:51
-
Gerrit Code Review pushed patch set 10 for main to change 84143 09/13/24, 08:24
-
Gerrit Code Review pushed patch set 11 for main to change 84143 09/14/24, 09:35
-
Sybille Peters commented and changed status
Under ReviewResolved done0 %100 % 09/14/24, 10:25 -
Benni Mack changed status
ResolvedClosed 10/15/24, 09:31
Applied in changeset commit:57af92e7a909edcb55bbdeb8381ad998c652e855.