Skip to content

Commit

Permalink
Merge pull request #2 from susom/development
Browse files Browse the repository at this point in the history
added configuration settings and renamed global dashboard page
  • Loading branch information
Jordan-M-Schultz authored Oct 22, 2024
2 parents f6a33c2 + d019f20 commit 0e29157
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
13 changes: 7 additions & 6 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
{
"name": "Intake Dashboard",
"icon": "gear",
"url" : "pages/IntakeDashboard.php",
"url" : "pages/root.php",
"show-header-and-footer": false
}
]
Expand All @@ -31,13 +31,12 @@

"auth-ajax-actions": [
],

"system-settings": [
"project-settings": [
{
"key": "parent-project",
"name": "<h5><strong>Parent Project</strong></h5><i>This project will house the universal intake survey and be the source of truth for all child projects</i>",
"key": "universal-survey",
"name": "<strong>Universal Intake Survey</strong><br><i>The required survey all intake submissions begin with </i>",
"required": true,
"type": "project-id"
"type": "form-list"
},
{
"key": "child-project-list-description",
Expand All @@ -60,6 +59,8 @@
}
]
}
],
"system-settings": [

],

Expand Down
3 changes: 1 addition & 2 deletions pages/IntakeDashboard.php → pages/root.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
/** @var \Stanford\IntakeDashboard\IntakeDashboard $module */

$module->injectJSMO();
//$urls = $module->fetchRequiredSurveys();
$files = $module->generateAssetFiles();

$urls = $module->fetchRequiredSurveys();
//$surveys = $module->fetchRequiredSurveys();
?>

Expand Down

0 comments on commit 0e29157

Please sign in to comment.