Enable QueueRunner for membership import
[civicrm-core.git] / templates / CRM / Member / Import / Form / Preview.tpl
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
1188c7a8 3 | Copyright CiviCRM LLC. All rights reserved. |
6a488035 4 | |
1188c7a8
TO
5 | This work is published under the GNU AGPLv3 license with some |
6 | permitted exceptions and without any warranty. For full license |
7 | and copyright information, see https://civicrm.org/licensing |
6a488035
TO
8 +--------------------------------------------------------------------+
9*}
10<div class="crm-block crm-form-block crm-member-import-preview-form-block">
11{* Membership Import Wizard - Step 3 (preview import results prior to actual data loading) *}
12{* @var $form Contains the array for the form elements and other form associated information assigned to the template by the controller *}
13
14 {* WizardHeader.tpl provides visual display of steps thru the wizard as well as title for current step *}
15 {include file="CRM/common/WizardHeader.tpl"}
31037a42 16
f6eedce7 17 <div class="help">
6a488035 18 <p>
31037a42 19 {ts}The information below previews the results of importing your data in CiviCRM. Review the totals to ensure that they represent your expected results.{/ts}
6a488035 20 </p>
31037a42 21
6a488035
TO
22 {if $invalidRowCount}
23 <p class="error">
24 {ts 1=$invalidRowCount 2=$downloadErrorRecordsUrl}CiviCRM has detected invalid data or formatting errors in %1 records. If you continue, these records will be skipped. OR, you can download a file with just these problem records - <a href='%2'>Download Errors</a>. Then correct them in the original import file, cancel this import and begin again at step 1.{/ts}
25 </p>
26 {/if}
27
6a488035
TO
28 <p>{ts}Click 'Import Now' if you are ready to proceed.{/ts}</p>
29 </div>
31037a42 30 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
4ff86743 31
6a488035
TO
32 {* Summary Preview (record counts) *}
33 <table id="preview-counts" class="report">
d8eb7600 34 <tr><td class="label crm-grid-cell">{ts}Total Rows{/ts}</td>
6a488035
TO
35 <td class="data">{$totalRowCount}</td>
36 <td class="explanation">{ts}Total rows (membership records) in uploaded file.{/ts}</td>
37 </tr>
31037a42 38
6a488035 39 {if $invalidRowCount}
d8eb7600 40 <tr class="error"><td class="label crm-grid-cell">{ts}Rows with Errors{/ts}</td>
6a488035
TO
41 <td class="data">{$invalidRowCount}</td>
42 <td class="explanation">{ts}Rows with invalid data in one or more fields. These rows will be skipped (not imported).{/ts}
43 {if $invalidRowCount}
13a3d214 44 <div class="action-link"><a href="{$downloadErrorRecordsUrl}"><i class="crm-i fa-download" aria-hidden="true"></i> {ts}Download Errors{/ts}</a></div>
6a488035
TO
45 {/if}
46 </td>
47 </tr>
48 {/if}
31037a42 49
d8eb7600 50 <tr><td class="label crm-grid-cell">{ts}Valid Rows{/ts}</td>
6a488035
TO
51 <td class="data">{$validRowCount}</td>
52 <td class="explanation">{ts}Total rows to be imported.{/ts}</td>
53 </tr>
54 </table>
31037a42 55
6a488035
TO
56
57 {* Table for mapping preview *}
22f90136 58 {include file="CRM/Import/Form/MapTableCommon.tpl"}
31037a42
EM
59
60
6a488035
TO
61 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
62 </div>