diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2019-01-22 17:51:15 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2019-01-22 17:51:15 +0000 |
| commit | 241a1636dee0487eb56818cbf3b6a79ceaf02090 (patch) | |
| tree | 2d1b5d6966c78eabe9cd047bb623db4e285686c8 /resources | |
| parent | 26684e686fb5ab50ecb57e7e6c6a0a55852d2203 (diff) | |
| download | webtrees-241a1636dee0487eb56818cbf3b6a79ceaf02090.tar.gz webtrees-241a1636dee0487eb56818cbf3b6a79ceaf02090.tar.bz2 webtrees-241a1636dee0487eb56818cbf3b6a79ceaf02090.zip | |
Merge chart controllers into chart modules
Diffstat (limited to 'resources')
| -rw-r--r-- | resources/views/modules/pedigree-chart/chart-page.phtml (renamed from resources/views/pedigree-page.phtml) | 6 | ||||
| -rw-r--r-- | resources/views/modules/pedigree-chart/chart.phtml (renamed from resources/views/pedigree-chart.phtml) | 0 |
2 files changed, 4 insertions, 2 deletions
diff --git a/resources/views/pedigree-page.phtml b/resources/views/modules/pedigree-chart/chart-page.phtml index 0859e8ad1b..f71b3f1c68 100644 --- a/resources/views/pedigree-page.phtml +++ b/resources/views/modules/pedigree-chart/chart-page.phtml @@ -7,7 +7,9 @@ </h2> <form class="wt-page-options wt-page-options-pedigree-chart d-print-none"> - <input type="hidden" name="route" value="pedigree"> + <input type="hidden" name="route" value="module"> + <input type="hidden" name="module" value="<?= e($module_name) ?>"> + <input type="hidden" name="action" value="Chart"> <input type="hidden" name="ged" value="<?= e($tree->name()) ?>"> <div class="row form-group"> @@ -45,4 +47,4 @@ </div> </form> -<div class="wt-ajax-load wt-page-content wt-chart wt-pedigree-chart" data-ajax-url="<?= e(route('pedigree-chart', ['xref' => $individual->xref(), 'ged' => $individual->tree()->name(), 'generations' => $generations, 'orientation' => $orientation])) ?>"></div> +<div class="wt-ajax-load wt-page-content wt-chart wt-pedigree-chart" data-ajax-url="<?= e($ajax_url) ?>"></div> diff --git a/resources/views/pedigree-chart.phtml b/resources/views/modules/pedigree-chart/chart.phtml index b181650922..b181650922 100644 --- a/resources/views/pedigree-chart.phtml +++ b/resources/views/modules/pedigree-chart/chart.phtml |
