improve project dialog system
- project model : refactor getSteps() method - create dialog store - create DialogWrapper component that open the dialog corresponding to the URL query param
This commit is contained in:
parent
4e8c876dac
commit
26369ad71b
228 changed files with 451 additions and 525 deletions
13
public/site/templates/dialog.json.php
Normal file
13
public/site/templates/dialog.json.php
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
$specificData = [
|
||||
// "exampleField" => $page->exampleField(),
|
||||
// "exampleHardData" => 'Example hard value'
|
||||
];
|
||||
|
||||
$pageData = array_merge($genericData, $specificData);
|
||||
|
||||
echo json_encode([
|
||||
"page" => $pageData,
|
||||
"user" => $userData
|
||||
]);
|
||||
Loading…
Add table
Add a link
Reference in a new issue