Update copyright date for 2020
[civicrm-core.git] / templates / CRM / Event / Import / Form / Summary.tpl
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
fee14197 3 | CiviCRM version 5 |
6a488035 4 +--------------------------------------------------------------------+
f299f7db 5 | Copyright CiviCRM LLC (c) 2004-2020 |
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{* Event Import Wizard - Step 4 (summary of import results AFTER 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-summary-form-block">
30
31 {* WizardHeader.tpl provides visual display of steps thru the wizard as well as title for current step *}
32 {include file="CRM/common/WizardHeader.tpl"}
31037a42 33
f6eedce7 34<div class="help">
6a488035
TO
35 <p>
36 <strong>{ts}Import has completed successfully.{/ts}</strong> {ts}The information below summarizes the results.{/ts}
37 </p>
31037a42 38
6a488035
TO
39 {if $unMatchCount }
40 <p class="error">
f8aee301 41 {ts count=$unMatchCount plural='CiviCRM has detected mismatched participant IDs. These records have not been updated.'}CiviCRM has detected a mismatched participant ID. This record has not been updated.{/ts}
6a488035
TO
42 </p>
43 <p class="error">
f8aee301 44 {ts 1=$downloadMismatchRecordsUrl}You can <a href="%1">Download Mismatched Participants</a>. You may then correct them, and import the new file with the corrected data.{/ts}
6a488035 45 </p>
31037a42
EM
46 {/if}
47
6a488035
TO
48 {if $invalidRowCount }
49 <p class="error">
f8aee301 50 {ts count=$invalidRowCount plural='CiviCRM has detected invalid data and/or formatting errors in %count records. These records have not been imported.'}CiviCRM has detected invalid data and/or formatting errors in one record. This record has not been imported.{/ts}
6a488035
TO
51 </p>
52 <p class="error">
53 {ts 1=$downloadErrorRecordsUrl}You can <a href="%1">Download Errors</a>. You may then correct them, and import the new file with the corrected data.{/ts}
54 </p>
55 {/if}
56
57 {if $conflictRowCount}
58 <p class="error">
f8aee301 59 {ts count=$conflictRowCount plural='CiviCRM has detected %count records with conflicting participant IDs within this data file or relative to existing participant records. These records have not been imported.'}CiviCRM has detected one record with conflicting participant ID within this data file or relative to existing participant records. This record has not been imported.{/ts}
6a488035
TO
60 </p>
61 <p class="error">
f8aee301 62 {ts 1=$downloadConflictRecordsUrl}You can <a href="%1">Download Conflicts</a>. You may then review these records to determine if they are actually conflicts, and correct the participant IDs for those that are not.{/ts}
6a488035
TO
63 </p>
64 {/if}
65
66 {if $duplicateRowCount}
67 <p {if $dupeError}class="error"{/if}>
68 {ts count=$duplicateRowCount plural='CiviCRM has detected %count records which are duplicates of existing CiviCRM participant records.'}CiviCRM has detected one record which is a duplicate of existing CiviCRM participant record.{/ts} {$dupeActionString}
69 </p>
70 <p {if $dupeError}class="error"{/if}>
f8aee301 71 {ts 1=$downloadDuplicateRecordsUrl}You can <a href="%1">Download Duplicates</a>. You may then review these records to determine if they are actually duplicates, and correct the participant IDs for those that are not.{/ts}
6a488035
TO
72 </p>
73 {/if}
74 </div>
31037a42 75
6a488035
TO
76<div class="crm-submit-buttons">
77 {include file="CRM/common/formButtons.tpl" location="top"}
31037a42 78</div>
6a488035
TO
79 {* Summary of Import Results (record counts) *}
80 <table id="summary-counts" class="report">
712f3e31 81 <tr><td class="label crm-grid-cell">{ts}Total Rows{/ts}</td>
6a488035
TO
82 <td class="data">{$totalRowCount}</td>
83 <td class="explanation">{ts}Total rows (participant records) in uploaded file.{/ts}</td>
84 </tr>
85
86 {if $invalidRowCount }
712f3e31 87 <tr class="error"><td class="label crm-grid-cell">{ts}Invalid Rows (skipped){/ts}</td>
6a488035
TO
88 <td class="data">{$invalidRowCount}</td>
89 <td class="explanation">{ts}Rows with invalid data in one or more fields. These rows will be skipped (not imported).{/ts}
90 {if $invalidRowCount}
91 <p><a href="{$downloadErrorRecordsUrl}">{ts}Download Errors{/ts}</a></p>
92 {/if}
93 </td>
94 </tr>
95 {/if}
31037a42 96
6a488035 97 {if $unMatchCount }
712f3e31 98 <tr class="error"><td class="label crm-grid-cell">{ts}Mismatched Rows (skipped){/ts}</td>
6a488035
TO
99 <td class="data">{$unMatchCount}</td>
100 <td class="explanation">{ts}Rows with mismatched participant IDs... (NOT updated).{/ts}
101 {if $unMatchCount}
102 <p><a href="{$downloadMismatchRecordsUrl}">{ts}Download Mismatched participants{/ts}</a></p>
103 {/if}
104 </td>
105 </tr>
106 {/if}
31037a42 107
6a488035 108 {if $conflictRowCount}
712f3e31 109 <tr class="error"><td class="label crm-grid-cell">{ts}Conflicting Rows (skipped){/ts}</td>
6a488035 110 <td class="data">{$conflictRowCount}</td>
f8aee301 111 <td class="explanation">{ts}Rows with conflicting participant IDs (NOT imported).{/ts}
6a488035
TO
112 {if $conflictRowCount}
113 <p><a href="{$downloadConflictRecordsUrl}">{ts}Download Conflicts{/ts}</a></p>
114 {/if}
115 </td>
116 </tr>
117 {/if}
118
119 {if $duplicateRowCount}
712f3e31 120 <tr class="error"><td class="label crm-grid-cell">{ts}Duplicate Rows{/ts}</td>
6a488035
TO
121 <td class="data">{$duplicateRowCount}</td>
122 <td class="explanation">{ts}Rows which are duplicates of existing CiviCRM participant records.{/ts} {$dupeActionString}
123 {if $duplicateRowCount}
124 <p><a href="{$downloadDuplicateRecordsUrl}">{ts}Download Duplicates{/ts}</a></p>
125 {/if}
126 </td>
127 </tr>
128 {/if}
31037a42 129
712f3e31 130 <tr><td class="label crm-grid-cell">{ts}Records Imported{/ts}</td>
6a488035
TO
131 <td class="data">{$validRowCount}</td>
132 <td class="explanation">{ts}Rows imported successfully.{/ts}</td>
133 </tr>
134
135 </table>
31037a42 136
6a488035
TO
137 <div class="crm-submit-buttons">
138 {include file="CRM/common/formButtons.tpl" location="bottom"}
139 </div>
140</div>