Commit 94b60b64 authored by eileen's avatar eileen

Convert user dashboard options

parent 7399a0a6
......@@ -40,8 +40,9 @@ class CRM_Admin_Form_Preferences_Display extends CRM_Admin_Form_Preferences {
'contact_view_options' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME,
'contact_smart_group_display' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME,
'advanced_search_options' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME,
'user_dashboard_options' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME,
'preserve_activity_tab_filter' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME,
'display_name_format' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME,
'display_name_format' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME,
'sort_name_format' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME,
);
......@@ -71,11 +72,7 @@ class CRM_Admin_Form_Preferences_Display extends CRM_Admin_Form_Preferences {
'weight' => 8,
'html_type' => NULL,
),
'user_dashboard_options' => array(
'html_type' => 'checkboxes',
'title' => ts('Contact Dashboard'),
'weight' => 9,
),
'editor_id' => array(
'html_type' => NULL,
'weight' => 12,
......
......@@ -105,8 +105,9 @@ return array(
'title' => ts('Contact Dashboard'),
'is_domain' => 1,
'is_contact' => 0,
'description' => NULL,
'description' => ts('Select the sections that should be included in the Contact Dashboard. EXAMPLE: If you don\'t want constituents to view their own contribution history, un-check that option.'),
'help_text' => NULL,
'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
),
'address_options' => array(
'group_name' => 'CiviCRM Preferences',
......
......@@ -169,7 +169,7 @@
<tr class="crm-preferences-display-form-block-description">
<td>&nbsp;</td>
<td class="description">
{ts}Select the sections that should be included in the Contact Dashboard. EXAMPLE: If you don't want constituents to view their own contribution history, un-check that option.{/ts}
{$settings_fields.user_dashboard_options.description}
</td>
</tr>
<tr class="crm-preferences-display-form-block-editor_id">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment