Reorganize contact summary template to support non-ajax tabs
authorColeman Watts <coleman@civicrm.org>
Tue, 23 Mar 2021 14:44:14 +0000 (10:44 -0400)
committerColeman Watts <coleman@civicrm.org>
Tue, 23 Mar 2021 19:06:17 +0000 (15:06 -0400)
commit0ebeb01abfa4f5e369d3f0c573c3c22179676286
tree2a8a1b95969b2df70142ac1822b08edc7e9fd338
parent6021934197601076f623778130beb14ffc0790cc
Reorganize contact summary template to support non-ajax tabs

There was some non-functional (due to a typo) code in TabHeader.tpl to allow tabs to load from a .tpl instead of ajax.
This fixes that typo and copies the funcionality into the contact summary tabs as well.
The functionality is demonstrated here by moving the main tab into a sub-tempate.
CRM/Contact/Page/View/Summary.php
templates/CRM/Contact/Page/View/Summary-tab.tpl [new file with mode: 0644]
templates/CRM/Contact/Page/View/Summary.tpl
templates/CRM/common/TabHeader.tpl