commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-new / civicrm / templates / CRM / Activity / Import / Form / Summary.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.6 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2015 |
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 {* Activity 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 <div class="crm-block crm-form-block crm-activity-import-summary-form-block">
29
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}<strong>Import has completed successfully.</strong> The information below summarizes the results.{/ts}
36 </p>
37
38 {if $unMatchCount }
39 <p class="error">
40 {ts count=$unMatchCount plural='CiviCRM has detected mismatched activity IDs. These records have not been Updated.'}CiviCRM has detected mismatched activity ID. This record have not been updated.{/ts}
41 </p>
42 <p class="error">
43 {ts 1=$downloadMismatchRecordsUrl}You can <a href='%1'>Download Mismatched Activity records</a>. You may then correct them, and import the new file with the corrected data.{/ts}
44 </p>
45 {/if}
46
47 {if $invalidRowCount }
48 <p class="error">
49 {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}
50 </p>
51 <p class="error">
52 {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}
53 </p>
54 {/if}
55
56 {if $conflictRowCount}
57 <p class="error">
58 {ts count=$conflictRowCount plural='CiviCRM has detected %count records with conflicting transaction IDs within this data file or relative to existing activity records. These records have not been imported.'}CiviCRM has detected one record with conflicting transaction ID within this data file or relative to existing activity records. This record have not been imported.{/ts}
59 </p>
60 <p class="error">
61 {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}
62 </p>
63 {/if}
64
65 {if $duplicateRowCount}
66 <p {if $dupeError}class="error"{/if}>
67 {ts count=$duplicateRowCount plural='CiviCRM has detected %count records which are duplicates of existing CiviCRM activity records.'}CiviCRM has detected one record which is a duplicate of existing CiviCRM activity record.{/ts} {$dupeActionString}
68 </p>
69 <p {if $dupeError}class="error"{/if}>
70 {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}
71 </p>
72 {/if}
73 </div>
74 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
75 {* Summary of Import Results (record counts) *}
76 <table id="summary-counts" class="report">
77 <tr><td class="label">{ts}Total Rows{/ts}</td>
78 <td class="data">{$totalRowCount}</td>
79 <td class="explanation">{ts}Total rows (activity records) in uploaded file.{/ts}</td>
80 </tr>
81
82 {if $invalidRowCount }
83 <tr class="error"><td class="label">{ts}Invalid Rows (skipped){/ts}</td>
84 <td class="data">{$invalidRowCount}</td>
85 <td class="explanation">{ts}Rows with invalid data in one or more fields. These rows will be skipped (not imported).{/ts}
86 {if $invalidRowCount}
87 <p><a href="{$downloadErrorRecordsUrl}">{ts}Download Errors{/ts}</a></p>
88 {/if}
89 </td>
90 </tr>
91 {/if}
92
93 {if $unMatchCount }
94 <tr class="error"><td class="label">{ts}Mismatched Rows (skipped){/ts}</td>
95 <td class="data">{$unMatchCount}</td>
96 <td class="explanation">{ts}Rows with mismatched activity IDs (NOT updated).{/ts}
97 {if $unMatchCount}
98 <p><a href="{$downloadMismatchRecordsUrl}">{ts}Download Mismatched Activity records{/ts}</a></p>
99 {/if}
100 </td>
101 </tr>
102 {/if}
103
104 {if $conflictRowCount}
105 <tr class="error"><td class="label">{ts}Conflicting Rows (skipped){/ts}</td>
106 <td class="data">{$conflictRowCount}</td>
107 <td class="explanation">{ts}Rows with conflicting transaction IDs (NOT imported).{/ts}
108 {if $conflictRowCount}
109 <p><a href="{$downloadConflictRecordsUrl}">{ts}Download Conflicts{/ts}</a></p>
110 {/if}
111 </td>
112 </tr>
113 {/if}
114
115 {if $duplicateRowCount}
116 <tr class="error"><td class="label">{ts}Duplicate Rows{/ts}</td>
117 <td class="data">{$duplicateRowCount}</td>
118 <td class="explanation">{ts}Rows which are duplicates of existing CiviCRM activity records.{/ts} {$dupeActionString}
119 {if $duplicateRowCount}
120 <p><a href="{$downloadDuplicateRecordsUrl}">{ts}Download Duplicates{/ts}</a></p>
121 {/if}
122 </td>
123 </tr>
124 {/if}
125
126 <tr><td class="label">{ts}Records Imported{/ts}</td>
127 <td class="data">{$validRowCount}</td>
128 <td class="explanation">{ts}Rows imported successfully.{/ts}</td>
129 </tr>
130
131 </table>
132
133 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
134 </div>