Standardise activity datasource text
authorEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 15 Apr 2022 03:16:39 +0000 (15:16 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 15 Apr 2022 03:16:55 +0000 (15:16 +1200)
templates/CRM/Activity/Import/Form/DataSource.tpl

index 56fb9940deb04b06420496357793556d765b2ab0..1287c6d6a501cbd6032e35eea71999d8fa0c79e2 100644 (file)
 {* Import Wizard - Step 1 (choose data source) *}
 <div class="crm-block crm-form-block crm-import-datasource-form-block">
 
- {* WizardHeader.tpl provides visual display of steps thru the wizard as well as title for current step *}
- {include file="CRM/common/WizardHeader.tpl"}
+  {* WizardHeader.tpl provides visual display of steps thru the wizard as well as title for current step *}
+  {include file="CRM/common/WizardHeader.tpl"}
+  <div class="help">
+    {ts 1=$importEntity 2= $importEntities}The %1 Import Wizard allows you to easily upload %2 from other applications into CiviCRM.{/ts}
+    {ts}Files to be imported must be in the 'comma-separated-values' format (CSV) and must contain data needed to match an existing contact in your CiviCRM database.{/ts} {help id='upload'}
+  </div>
 
- <div class="help">
-    <p>
-    {ts}The Activity Import Wizard allows you to easily upload activity from other applications into CiviCRM. Contacts must already exist in your CiviCRM database prior to importing activity.{/ts}
-    {help id="id-upload"}
-    </p>
- </div>
  <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
  <div id="upload-file">
  <h3>{ts}Upload Data File{/ts}</h3>
       <table class="form-layout-compressed">
-        <tr class="crm-activity-import-uploadfile-form-block-uploadFile">
+        <tr class="crm-import-uploadfile-from-block-uploadFile">
            <td class="label">{$form.uploadFile.label}</td>
            <td>{$form.uploadFile.html}<br />
                 <span class="description">{ts}File format must be comma-separated-values (CSV).{/ts}</span><br /><span>{ts 1=$uploadSize}Maximum Upload File Size: %1 MB{/ts}</span>
            </td>
         </tr>
-        <tr class="crm-activity-import-uploadfile-form-block-skipColumnHeader">
+        <tr class="crm-import-uploadfile-form-block-skipColumnHeader">
            <td class="label"></td>
            <td>{$form.skipColumnHeader.html}{$form.skipColumnHeader.label}<br />
                <span class="description">{ts}Check this box if the first row of your file consists of field names (Example: 'Contact ID', 'Activity Type', 'Activity Date').{/ts}</span>
@@ -41,7 +39,7 @@
         </tr>
         <tr>{include file="CRM/Core/Date.tpl"}</tr>
         {if $savedMapping}
-        <tr class="crm-activity-import-uploadfile-form-block-savedMapping">
+        <tr class="crm-import-uploadfile-form-block-savedMapping">
         <td>{$form.savedMapping.label}</td>
            <td>{$form.savedMapping.html}<br />
               <span class="description">{ts}Select Saved Mapping or Leave blank to create a new One.{/ts}</span>