Enable & do single field metadata conversion for defaultContactCountry
authoreileen <emcnaughton@wikimedia.org>
Mon, 1 Mar 2021 02:07:19 +0000 (15:07 +1300)
committereileen <emcnaughton@wikimedia.org>
Mon, 1 Mar 2021 02:09:34 +0000 (15:09 +1300)
commit8ad2d066a0bd9bdfbfd77204de5b1ab0780e2495
treeb5d26cd4900cfaa77339ff8a1f16104cd97e49ff
parent0843757410708e01eee96581dab663d77dc1fd84
Enable & do single field metadata conversion for defaultContactCountry

This builds on https://github.com/civicrm/civicrm-core/pull/19629

Our intention is that we should be building functionality into this
form that is actually used in core. It's a bit tricky to swap out
all fields at once but this makes them individually swap-outable.

Only defaultContactCountry is swapped out. I looked a little at the
help_text issue - the text actually does work if you
add it since it's already in the hlp file but I decided this
broke consistency less (using description) as other fields
on the form do that and look similar. Also, when the text is
really just a bit of text (not a long help text) it makes sense.

(Otherwise I'd need to trawl through resolving the bigger issue
and I didn't want to bring that into scope)
templates/CRM/Admin/Form/Setting/Localization.tpl
templates/CRM/Admin/Form/Setting/SettingField.tpl [new file with mode: 0644]
templates/CRM/Admin/Form/Setting/SettingForm.tpl