Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
819d0d41 | 3 | | CiviCRM version 4.5 | |
6a488035 | 4 | +--------------------------------------------------------------------+ |
819d0d41 | 5 | | Copyright CiviCRM LLC (c) 2004-2014 | |
6a488035 TO |
6 | +--------------------------------------------------------------------+ |
7 | | This file is a part of CiviCRM. | | |
8 | | | | |
9 | | CiviCRM is free software; you can copy, modify, and distribute it | | |
10 | | under the terms of the GNU Affero General Public License | | |
11 | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | |
12 | | | | |
13 | | CiviCRM is distributed in the hope that it will be useful, but | | |
14 | | WITHOUT ANY WARRANTY; without even the implied warranty of | | |
15 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | |
16 | | See the GNU Affero General Public License for more details. | | |
17 | | | | |
18 | | You should have received a copy of the GNU Affero General Public | | |
19 | | License and the CiviCRM Licensing Exception along | | |
20 | | with this program; if not, contact CiviCRM LLC | | |
21 | | at info[AT]civicrm[DOT]org. If you have questions about the | | |
22 | | GNU Affero General Public License or the licensing of CiviCRM, | | |
23 | | see the CiviCRM license FAQ at http://civicrm.org/licensing | | |
24 | +--------------------------------------------------------------------+ | |
25 | *} | |
26 | {* Participant Import Wizard - Step 3 (preview import results prior to actual data loading) *} | |
27 | {* @var $form Contains the array for the form elements and other form associated information assigned to the template by the controller *} | |
28 | ||
29 | <div class="crm-block crm-form-block crm-event-import-preview-form-block"> | |
30 | {* WizardHeader.tpl provides visual display of steps thru the wizard as well as title for current step *} | |
31 | {include file="CRM/common/WizardHeader.tpl"} | |
32 | ||
33 | <div id="help"> | |
34 | <p> | |
35 | {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} | |
36 | </p> | |
37 | ||
38 | {if $invalidRowCount} | |
39 | <p class="error"> | |
40 | {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} | |
41 | </p> | |
42 | {/if} | |
43 | ||
44 | {if $conflictRowCount} | |
45 | <p class="error"> | |
46 | {ts 1=$conflictRowCount 2=$downloadConflictRecordsUrl}CiviCRM has detected %1 records with conflicting transaction ids within this data file. If you continue, these records will be skipped. OR, you can download a file with just these problem records - <a href='%2'>Download Conflicts</a>. Then correct them in the original import file, cancel this import and begin again at step 1.{/ts} | |
47 | </p> | |
48 | {/if} | |
49 | ||
50 | ||
51 | <p>{ts}Click 'Import Now' if you are ready to proceed.{/ts}</p> | |
52 | </div> | |
53 | ||
54 | <div class="crm-submit-buttons"> | |
55 | {include file="CRM/common/formButtons.tpl" location="top"} | |
56 | </div> | |
57 | {* Summary Preview (record counts) *} | |
58 | <table id="preview-counts" class="report"> | |
59 | <tr><td class="label">{ts}Total Rows{/ts}</td> | |
60 | <td class="data">{$totalRowCount}</td> | |
61 | <td class="explanation">{ts}Total rows (participant records) in uploaded file.{/ts}</td> | |
62 | </tr> | |
63 | ||
64 | {if $invalidRowCount} | |
65 | <tr class="error"><td class="label">{ts}Rows with Errors{/ts}</td> | |
66 | <td class="data">{$invalidRowCount}</td> | |
67 | <td class="explanation">{ts}Rows with invalid data in one or more fields. These rows will be skipped (not imported).{/ts} | |
68 | {if $invalidRowCount} | |
69 | <p><a href="{$downloadErrorRecordsUrl}">{ts}Download Errors{/ts}</a></p> | |
70 | {/if} | |
71 | </td> | |
72 | </tr> | |
73 | {/if} | |
74 | ||
75 | {if $conflictRowCount} | |
76 | <tr class="error"><td class="label">{ts}Conflicting Rows{/ts}</td> | |
77 | <td class="data">{$conflictRowCount}</td> | |
78 | <td class="explanation">{ts}Rows with conflicting transaction ids within this file. These rows will be skipped (not imported).{/ts} | |
79 | {if $conflictRowCount} | |
80 | <p><a href="{$downloadConflictRecordsUrl}">{ts}Download Conflicts{/ts}</a></p> | |
81 | {/if} | |
82 | </td> | |
83 | </tr> | |
84 | {/if} | |
85 | ||
86 | <tr><td class="label">{ts}Valid Rows{/ts}</td> | |
87 | <td class="data">{$validRowCount}</td> | |
88 | <td class="explanation">{ts}Total rows to be imported.{/ts}</td> | |
89 | </tr> | |
90 | </table> | |
91 | ||
92 | ||
93 | {* Table for mapping preview *} | |
94 | {include file="CRM/Event/Import/Form/MapTable.tpl} | |
95 | ||
96 | ||
97 | <div class="crm-submit-buttons"> | |
98 | {include file="CRM/common/formButtons.tpl" location="bottom"} | |
99 | </div> | |
232624b1 | 100 | </div> |