copyright and version fixes
[civicrm-core.git] / templates / CRM / Event / Import / Form / Summary.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.5 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2014 |
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"}
33
34 <div id="help">
35 <p>
36 <strong>{ts}Import has completed successfully.{/ts}</strong> {ts}The information below summarizes the results.{/ts}
37 </p>
38
39 {if $unMatchCount }
40 <p class="error">
41 {ts count=$unMatchCount plural='CiviCRM has detected mismatched participant IDs. These records have not been Updated.'}CiviCRM has detected mismatched participant ID. This record have not been updated.{/ts}
42 </p>
43 <p class="error">
44 {ts 1=$downloadMismatchRecordsUrl}You can <a href="%1">Download Mismatched Participantss</a>. You may then correct them, and import the new file with the corrected data.{/ts}
45 </p>
46 {/if}
47
48 {if $invalidRowCount }
49 <p class="error">
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 have not been imported.{/ts}
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">
59 {ts count=$conflictRowCount plural='CiviCRM has detected %count records with conflicting transaction IDs within this data file or relative to existing participant records. These records have not been imported.'}CiviCRM has detected one record with conflicting transaction ID within this data file or relative to existing particpant records. This record have not been imported.{/ts}
60 </p>
61 <p class="error">
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 transaction IDs for those that are not.{/ts}
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}>
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 transaction IDs for those that are not.{/ts}
72 </p>
73 {/if}
74 </div>
75
76 <div class="crm-submit-buttons">
77 {include file="CRM/common/formButtons.tpl" location="top"}
78 </div>
79 {* Summary of Import Results (record counts) *}
80 <table id="summary-counts" class="report">
81 <tr><td class="label">{ts}Total Rows{/ts}</td>
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 }
87 <tr class="error"><td class="label">{ts}Invalid Rows (skipped){/ts}</td>
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}
96
97 {if $unMatchCount }
98 <tr class="error"><td class="label">{ts}Mismatched Rows (skipped){/ts}</td>
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}
107
108 {if $conflictRowCount}
109 <tr class="error"><td class="label">{ts}Conflicting Rows (skipped){/ts}</td>
110 <td class="data">{$conflictRowCount}</td>
111 <td class="explanation">{ts}Rows with conflicting transaction IDs (NOT imported).{/ts}
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}
120 <tr class="error"><td class="label">{ts}Duplicate Rows{/ts}</td>
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}
129
130 <tr><td class="label">{ts}Records Imported{/ts}</td>
131 <td class="data">{$validRowCount}</td>
132 <td class="explanation">{ts}Rows imported successfully.{/ts}</td>
133 </tr>
134
135 </table>
136
137 <div class="crm-submit-buttons">
138 {include file="CRM/common/formButtons.tpl" location="bottom"}
139 </div>
140 </div>