diff --git a/CRM/I3val/Form/Desktop.php b/CRM/I3val/Form/Desktop.php index 169830c..b1f3a55 100644 --- a/CRM/I3val/Form/Desktop.php +++ b/CRM/I3val/Form/Desktop.php @@ -159,6 +159,9 @@ public function buildQuickForm() { } } + // add resources + $this->assign('i3val_icon_copy', E::url('resources/copy.png')); + // render activity form try { $handlers = $configuration->getHandlersForActivityType($this->activity['activity_type_id']); diff --git a/resources/copy.png b/resources/copy.png new file mode 100644 index 0000000..cd918ab Binary files /dev/null and b/resources/copy.png differ diff --git a/templates/CRM/I3val/Handler/AddressUpdate.tpl b/templates/CRM/I3val/Handler/AddressUpdate.tpl index 78fbd4d..928d7ca 100644 --- a/templates/CRM/I3val/Handler/AddressUpdate.tpl +++ b/templates/CRM/I3val/Handler/AddressUpdate.tpl @@ -19,17 +19,17 @@ {$fieldlabel} {if $i3val_address_values.$fieldkey.original} - {ts 1=$i3val_address_values.$fieldkey.original}Click to copy '%1' into the 'apply' column.{/ts} + {ts 1=$i3val_address_values.$fieldkey.original}Click to copy '%1' into the 'apply' column.{/ts} {/if} {$i3val_address_values.$fieldkey.original} {if $i3val_address_values.$fieldkey.submitted} - {ts 1=$i3val_address_values.$fieldkey.submitted}Click to copy '%1' into the 'apply' column.{/ts} + {ts 1=$i3val_address_values.$fieldkey.submitted}Click to copy '%1' into the 'apply' column.{/ts} {/if} {$i3val_address_values.$fieldkey.submitted} - + {$i3val_address_values.$fieldkey.current} {$form.$input_field.html} diff --git a/templates/CRM/I3val/Handler/EmailUpdate.tpl b/templates/CRM/I3val/Handler/EmailUpdate.tpl index 6ffa486..a333320 100644 --- a/templates/CRM/I3val/Handler/EmailUpdate.tpl +++ b/templates/CRM/I3val/Handler/EmailUpdate.tpl @@ -19,19 +19,19 @@ {$fieldlabel} {if $i3val_email_values.$fieldkey.original} - {ts 1=$i3val_email_values.$fieldkey.original}Click to copy '%1' into the 'apply' column.{/ts} + {ts 1=$i3val_email_values.$fieldkey.original}Click to copy '%1' into the 'apply' column.{/ts} {/if} {$i3val_email_values.$fieldkey.original} {if $i3val_email_values.$fieldkey.submitted} - {ts 1=$i3val_email_values.$fieldkey.submitted}Click to copy '%1' into the 'apply' column.{/ts} + {ts 1=$i3val_email_values.$fieldkey.submitted}Click to copy '%1' into the 'apply' column.{/ts} {/if} {$i3val_email_values.$fieldkey.submitted} {if $i3val_email_values.$fieldkey.current} - {ts 1=$i3val_email_values.$fieldkey.current}Click to copy '%1' into the 'apply' column.{/ts} + {ts 1=$i3val_email_values.$fieldkey.current}Click to copy '%1' into the 'apply' column.{/ts} {/if} {$i3val_email_values.$fieldkey.current} diff --git a/templates/CRM/I3val/Handler/PhoneUpdate.tpl b/templates/CRM/I3val/Handler/PhoneUpdate.tpl index 52e7288..0eca181 100644 --- a/templates/CRM/I3val/Handler/PhoneUpdate.tpl +++ b/templates/CRM/I3val/Handler/PhoneUpdate.tpl @@ -19,19 +19,19 @@ {$fieldlabel} {if $i3val_phone_values.$fieldkey.original} - {ts 1=$i3val_phone_values.$fieldkey.original}Click to copy '%1' into the 'apply' column.{/ts} + {ts 1=$i3val_phone_values.$fieldkey.original}Click to copy '%1' into the 'apply' column.{/ts} {/if} {$i3val_phone_values.$fieldkey.original} {if $i3val_phone_values.$fieldkey.submitted} - {ts 1=$i3val_phone_values.$fieldkey.submitted}Click to copy '%1' into the 'apply' column.{/ts} + {ts 1=$i3val_phone_values.$fieldkey.submitted}Click to copy '%1' into the 'apply' column.{/ts} {/if} {$i3val_phone_values.$fieldkey.submitted} {if $i3val_phone_values.$fieldkey.current} - {ts 1=$i3val_phone_values.$fieldkey.current}Click to copy '%1' into the 'apply' column.{/ts} + {ts 1=$i3val_phone_values.$fieldkey.current}Click to copy '%1' into the 'apply' column.{/ts} {/if} {$i3val_phone_values.$fieldkey.current}