From: Coleman Watts Date: Sun, 16 Mar 2014 02:21:44 +0000 (-0400) Subject: Update add-group select X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=455b3ea4f55ba244ce22e7be6cd2706857459782;hp=a1c7d42f1b8b41695c6806350b5a24c0d7123138;p=civicrm-core.git Update add-group select --- diff --git a/CRM/Contact/Form/GroupContact.php b/CRM/Contact/Form/GroupContact.php index 7f0bdf0cd4..0ea4c90256 100644 --- a/CRM/Contact/Form/GroupContact.php +++ b/CRM/Contact/Form/GroupContact.php @@ -102,7 +102,7 @@ class CRM_Contact_Form_GroupContact extends CRM_Core_Form { $msg = ts('Add to a group'); } - $this->add('select', 'group_id', $msg, $groupSelect, TRUE, array('class' => 'crm-select2')); + $this->add('select', 'group_id', '', $groupSelect, TRUE, array('class' => 'crm-select2 crm-action-menu', 'placeholder' => $msg)); $this->addButtons(array( array( diff --git a/templates/CRM/Contact/Form/GroupContact.tpl b/templates/CRM/Contact/Form/GroupContact.tpl index 87d3ae921d..86daeca146 100644 --- a/templates/CRM/Contact/Form/GroupContact.tpl +++ b/templates/CRM/Contact/Form/GroupContact.tpl @@ -26,6 +26,6 @@ {* this template is used for adding a contact to a group (from view context) *}
- {$form.group_id.label}   {$form.group_id.html} {$form.buttons.html} + {$form.group_id.html} {$form.buttons.html} {include file="CRM/Form/validate.tpl"}
diff --git a/templates/CRM/Contact/Page/View/GroupContact.tpl b/templates/CRM/Contact/Page/View/GroupContact.tpl index 3b0221a759..3d94b8a325 100644 --- a/templates/CRM/Contact/Page/View/GroupContact.tpl +++ b/templates/CRM/Contact/Page/View/GroupContact.tpl @@ -63,9 +63,9 @@ {$row.in_date|crmDate} {if $permission EQ 'edit'} - + {ts}Remove{/ts} - + {ts}Delete{/ts} {/if} @@ -116,9 +116,9 @@ {$row.pending_date|crmDate} {if $permission EQ 'edit'} - + {ts}Remove{/ts} - + {ts}Delete{/ts} {/if} @@ -154,9 +154,9 @@ {$row.date_added|crmDate} {$row.out_date|crmDate} {if $permission EQ 'edit'} - + {ts}Rejoin Group{/ts} - + {ts}Delete{/ts}{/if}