display selectors as list in profiles view
This commit is contained in:
parent
1cdea9f15c
commit
f811af1dbf
2 changed files with 10 additions and 3 deletions
|
@ -24,6 +24,7 @@ class CRM_Twingle_Page_Profiles extends CRM_Core_Page {
|
|||
$profiles[$profile_id]['id'] = $profile_id;
|
||||
$profiles[$profile_id]['name'] = $profile->getName();
|
||||
$profiles[$profile_id]['is_default'] = $profile->is_default();
|
||||
$profiles[$profile_id]['selectors'] = $profile->getProjectIds();
|
||||
foreach (CRM_Twingle_Profile::allowedAttributes() as $attribute) {
|
||||
$profiles[$profile_id][$attribute] = $profile->getAttribute($attribute);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue