From 712f3e319fed28a586c1876397f3bab05c13232b Mon Sep 17 00:00:00 2001 From: "Matthew Wire (MJW Consulting)" Date: Sat, 8 Sep 2018 14:07:38 +0100 Subject: [PATCH] Display first column (labels) correctly on import preview/summary tables when using drupal bootstrap based theme --- .../CRM/Activity/Import/Form/Preview.tpl | 8 ++++---- .../CRM/Activity/Import/Form/Summary.tpl | 12 +++++------ templates/CRM/Contact/Import/Form/Preview.tpl | 8 ++++---- templates/CRM/Contact/Import/Form/Summary.tpl | 16 +++++++-------- .../CRM/Contribute/Import/Form/Preview.tpl | 8 ++++---- .../CRM/Contribute/Import/Form/Summary.tpl | 20 +++++++++---------- templates/CRM/Event/Import/Form/Preview.tpl | 8 ++++---- templates/CRM/Event/Import/Form/Summary.tpl | 12 +++++------ 8 files changed, 46 insertions(+), 46 deletions(-) diff --git a/templates/CRM/Activity/Import/Form/Preview.tpl b/templates/CRM/Activity/Import/Form/Preview.tpl index c71111ef81..007f3d4f16 100644 --- a/templates/CRM/Activity/Import/Form/Preview.tpl +++ b/templates/CRM/Activity/Import/Form/Preview.tpl @@ -54,13 +54,13 @@ {include file="CRM/common/importProgress.tpl"} {* Summary Preview (record counts) *} - + {if $invalidRowCount} - + + {/if} - + diff --git a/templates/CRM/Activity/Import/Form/Summary.tpl b/templates/CRM/Activity/Import/Form/Summary.tpl index 614ef3a1f5..b6f7afb0dc 100644 --- a/templates/CRM/Activity/Import/Form/Summary.tpl +++ b/templates/CRM/Activity/Import/Form/Summary.tpl @@ -74,13 +74,13 @@
{include file="CRM/common/formButtons.tpl" location="top"}
{* Summary of Import Results (record counts) *}
{ts}Total Rows{/ts}
{ts}Total Rows{/ts} {$totalRowCount} {ts}Total rows (activity records) in uploaded file.{/ts}
{ts}Rows with Errors{/ts}
{ts}Rows with Errors{/ts} {$invalidRowCount} {ts}Rows with invalid data in one or more fields. These rows will be skipped (not imported).{/ts} {if $invalidRowCount} @@ -71,7 +71,7 @@ {/if} {if $conflictRowCount} -
{ts}Conflicting Rows{/ts}
{ts}Conflicting Rows{/ts} {$conflictRowCount} {ts}Rows with conflicting transaction ids within this file. These rows will be skipped (not imported).{/ts} {if $conflictRowCount} @@ -81,7 +81,7 @@
{ts}Valid Rows{/ts}
{ts}Valid Rows{/ts} {$validRowCount} {ts}Total rows to be imported.{/ts}
- + {if $invalidRowCount } - + + + + {/if} - + diff --git a/templates/CRM/Contact/Import/Form/Preview.tpl b/templates/CRM/Contact/Import/Form/Preview.tpl index a2ab5af018..4f4a5a9ee1 100644 --- a/templates/CRM/Contact/Import/Form/Preview.tpl +++ b/templates/CRM/Contact/Import/Form/Preview.tpl @@ -54,13 +54,13 @@
{* Summary Preview (record counts) *}
{ts}Total Rows{/ts}
{ts}Total Rows{/ts} {$totalRowCount} {ts}Total rows (activity records) in uploaded file.{/ts}
{ts}Invalid Rows (skipped){/ts}
{ts}Invalid Rows (skipped){/ts} {$invalidRowCount} {ts}Rows with invalid data in one or more fields. These rows will be skipped (not imported).{/ts} {if $invalidRowCount} @@ -91,7 +91,7 @@ {/if} {if $unMatchCount } -
{ts}Mismatched Rows (skipped){/ts}
{ts}Mismatched Rows (skipped){/ts} {$unMatchCount} {ts}Rows with mismatched activity IDs (NOT updated).{/ts} {if $unMatchCount} @@ -102,7 +102,7 @@ {/if} {if $conflictRowCount} -
{ts}Conflicting Rows (skipped){/ts}
{ts}Conflicting Rows (skipped){/ts} {$conflictRowCount} {ts}Rows with conflicting transaction IDs (NOT imported).{/ts} {if $conflictRowCount} @@ -113,7 +113,7 @@ {/if} {if $duplicateRowCount} -
{ts}Duplicate Rows{/ts}
{ts}Duplicate Rows{/ts} {$duplicateRowCount} {ts}Rows which are duplicates of existing CiviCRM activity records.{/ts} {$dupeActionString} {if $duplicateRowCount} @@ -123,7 +123,7 @@
{ts}Records Imported{/ts}
{ts}Records Imported{/ts} {$validRowCount} {ts}Rows imported successfully.{/ts}
- + {if $invalidRowCount} - + + - + diff --git a/templates/CRM/Contact/Import/Form/Summary.tpl b/templates/CRM/Contact/Import/Form/Summary.tpl index 503dd3c8b5..6ac1b03554 100644 --- a/templates/CRM/Contact/Import/Form/Summary.tpl +++ b/templates/CRM/Contact/Import/Form/Summary.tpl @@ -81,13 +81,13 @@
{include file="CRM/common/formButtons.tpl" location="top"}
{* Summary of Import Results (record counts) *}
{ts}Total Rows{/ts}
{ts}Total Rows{/ts} {$totalRowCount} {ts}Total number of rows in the imported data.{/ts}
{ts}Rows with Errors{/ts}
{ts}Rows with Errors{/ts} {$invalidRowCount} {ts}Rows with invalid data in one or more fields (for example, invalid email address formatting). These rows will be skipped (not imported).{/ts} {if $invalidRowCount} @@ -71,7 +71,7 @@ {/if} {if $conflictRowCount} -
{ts}Conflicting Rows{/ts}
{ts}Conflicting Rows{/ts} {$conflictRowCount} {ts}Rows with conflicting email addresses within this file. These rows will be skipped (not imported).{/ts} {if $conflictRowCount} @@ -82,7 +82,7 @@ {/if}
{ts}Valid Rows{/ts}{ts}Valid Rows{/ts} {$validRowCount} {ts}Total rows to be imported.{/ts}
- + {if $invalidRowCount } - + + + + {/if} - + {if $groupAdditions} - + +
{ts}Total Rows{/ts}
{ts}Total Rows{/ts} {$totalRowCount} {ts}Total number of rows in the imported data.{/ts}
{ts}Invalid Rows (skipped){/ts}
{ts}Invalid Rows (skipped){/ts} {$invalidRowCount} {ts}Rows with invalid data in one or more fields (for example, invalid email address formatting). These rows will be skipped (not imported).{/ts} {if $invalidRowCount} @@ -98,7 +98,7 @@ {/if} {if $unMatchCount } -
{ts}Mismatched Rows (skipped){/ts}
{ts}Mismatched Rows (skipped){/ts} {$unMatchCount} {ts}Rows with mismatched contact IDs... (NOT updated).{/ts} {if $unMatchCount} @@ -109,7 +109,7 @@ {/if} {if $conflictRowCount} -
{ts}Conflicting Rows (skipped){/ts}
{ts}Conflicting Rows (skipped){/ts} {$conflictRowCount} {ts}Rows with conflicting email addresses (NOT imported).{/ts} {if $conflictRowCount} @@ -120,7 +120,7 @@ {/if} {if $duplicateRowCount && $dupeError} -
{ts}Duplicate Rows{/ts}
{ts}Duplicate Rows{/ts} {$duplicateRowCount} {ts}Rows which are duplicates of existing CiviCRM contact records.{/ts} {$dupeActionString} {if $duplicateRowCount} @@ -130,13 +130,13 @@
{ts}Total Contacts{/ts}
{ts}Total Contacts{/ts} {$validRowCount} {ts}Total number of contact records created or modified during the import.{/ts}
{ts}Import to Groups{/ts}
{ts}Import to Groups{/ts} {foreach from="$groupAdditions" item="group"} : @@ -152,7 +152,7 @@ {/if} {if $tagAdditions} -
{ts}Tagged Imported Contacts{/ts}
{ts}Tagged Imported Contacts{/ts} {foreach from="$tagAdditions" item="tag"} : diff --git a/templates/CRM/Contribute/Import/Form/Preview.tpl b/templates/CRM/Contribute/Import/Form/Preview.tpl index a7b12ca87f..ba4f6f597c 100644 --- a/templates/CRM/Contribute/Import/Form/Preview.tpl +++ b/templates/CRM/Contribute/Import/Form/Preview.tpl @@ -53,13 +53,13 @@ {include file="CRM/common/importProgress.tpl"} {* Summary Preview (record counts) *} - + {if $invalidRowCount} - + + {/if} - + diff --git a/templates/CRM/Contribute/Import/Form/Summary.tpl b/templates/CRM/Contribute/Import/Form/Summary.tpl index 869f42b6cf..53f71b29f4 100644 --- a/templates/CRM/Contribute/Import/Form/Summary.tpl +++ b/templates/CRM/Contribute/Import/Form/Summary.tpl @@ -73,13 +73,13 @@
{include file="CRM/common/formButtons.tpl" location="top"}
{* Summary of Import Results (record counts) *}
{ts}Total Rows{/ts}
{ts}Total Rows{/ts} {$totalRowCount} {ts}Total rows (contribution records) in uploaded file.{/ts}
{ts}Rows with Errors{/ts}
{ts}Rows with Errors{/ts} {$invalidRowCount} {ts}Rows with invalid data in one or more fields. These rows will be skipped (not imported).{/ts} {if $invalidRowCount} @@ -70,7 +70,7 @@ {/if} {if $conflictRowCount} -
{ts}Conflicting Rows{/ts}
{ts}Conflicting Rows{/ts} {$conflictRowCount} {ts}Rows with conflicting transaction ids within this file. These rows will be skipped (not imported).{/ts} {if $conflictRowCount} @@ -80,7 +80,7 @@
{ts}Valid Rows{/ts}
{ts}Valid Rows{/ts} {$validRowCount} {ts}Total rows to be imported.{/ts}
- + {if $invalidRowCount } - + + {/if} {if $invalidSoftCreditRowCount } - + + {/if} {if $invalidPledgePaymentRowCount } - + {/if} {if $unMatchCount } - + + + {/if} - + diff --git a/templates/CRM/Event/Import/Form/Preview.tpl b/templates/CRM/Event/Import/Form/Preview.tpl index 2eee02b10d..703a9cce62 100644 --- a/templates/CRM/Event/Import/Form/Preview.tpl +++ b/templates/CRM/Event/Import/Form/Preview.tpl @@ -56,13 +56,13 @@ {* Summary Preview (record counts) *}
{ts}Total Rows{/ts}
{ts}Total Rows{/ts} {$totalRowCount} {ts}Total rows (contribution records) in uploaded file.{/ts}
{ts}Invalid Rows (skipped){/ts}
{ts}Invalid Rows (skipped){/ts} {$invalidRowCount} {ts}Rows with invalid data in one or more fields. These rows have been skipped (not imported).{/ts} {if $invalidRowCount} @@ -90,14 +90,14 @@ {/if} {if $validSoftCreditRowCount } -
{ts}Soft Credits{/ts}
{ts}Soft Credits{/ts} {$validSoftCreditRowCount} {ts}Rows where a soft credit was successfully assigned to a contact.{/ts}
{ts}Unmatched Soft Credit Rows (skipped){/ts}
{ts}Unmatched Soft Credit Rows (skipped){/ts} {$invalidSoftCreditRowCount} {ts}Rows with a requested soft credit assignment where no matching contact was found (based on the supplied soft credit contact data). These contribution rows have been skipped (not imported).{/ts} {if $invalidSoftCreditRowCount} @@ -108,14 +108,14 @@ {/if} {if $validPledgePaymentRowCount } -
{ts}Pledge Payments Applied{/ts}
{ts}Pledge Payments Applied{/ts} {$validPledgePaymentRowCount} {ts}Rows with a pledge payment successfully applied.{/ts}
{ts}Invalid Pledge Payment Rows (skipped){/ts}
{ts}Invalid Pledge Payment Rows (skipped){/ts} {$invalidPledgePaymentRowCount} {ts}Rows marked as pledge payments where the contributor and / or contribution amount could not be matched to a pending pledge payment. These contribution rows have been skipped (not imported).{/ts} {if $invalidPledgePaymentRowCount} @@ -125,7 +125,7 @@
{ts}Mismatched Rows (skipped){/ts}
{ts}Mismatched Rows (skipped){/ts} {$unMatchCount} {ts}Rows with mismatched contribution IDs... (NOT updated).{/ts} {if $unMatchCount} @@ -136,7 +136,7 @@ {/if} {if $conflictRowCount} -
{ts}Conflicting Rows (skipped){/ts}
{ts}Conflicting Rows (skipped){/ts} {$conflictRowCount} {ts}Rows with conflicting transaction IDs (NOT imported).{/ts} {if $conflictRowCount} @@ -147,7 +147,7 @@ {/if} {if $duplicateRowCount} -
{ts}Duplicate Rows{/ts}
{ts}Duplicate Rows{/ts} {$duplicateRowCount} {ts}Rows which are duplicates of existing CiviCRM contribution records.{/ts} {$dupeActionString} {if $duplicateRowCount} @@ -157,7 +157,7 @@
{ts}Records Imported{/ts}
{ts}Records Imported{/ts} {$validRowCount} {ts}Total number of rows imported successfully.{/ts}
- + {if $invalidRowCount} - + + {/if} - + diff --git a/templates/CRM/Event/Import/Form/Summary.tpl b/templates/CRM/Event/Import/Form/Summary.tpl index c8e13e3829..95b53db619 100644 --- a/templates/CRM/Event/Import/Form/Summary.tpl +++ b/templates/CRM/Event/Import/Form/Summary.tpl @@ -78,13 +78,13 @@ {* Summary of Import Results (record counts) *}
{ts}Total Rows{/ts}
{ts}Total Rows{/ts} {$totalRowCount} {ts}Total rows (participant records) in uploaded file.{/ts}
{ts}Rows with Errors{/ts}
{ts}Rows with Errors{/ts} {$invalidRowCount} {ts}Rows with invalid data in one or more fields. These rows will be skipped (not imported).{/ts} {if $invalidRowCount} @@ -73,7 +73,7 @@ {/if} {if $conflictRowCount} -
{ts}Conflicting Rows{/ts}
{ts}Conflicting Rows{/ts} {$conflictRowCount} {ts}Rows with conflicting participant IDs within this file. These rows will be skipped (not imported).{/ts} {if $conflictRowCount} @@ -83,7 +83,7 @@
{ts}Valid Rows{/ts}
{ts}Valid Rows{/ts} {$validRowCount} {ts}Total rows to be imported.{/ts}
- + {if $invalidRowCount } - + + + + {/if} - + -- 2.25.1
{ts}Total Rows{/ts}
{ts}Total Rows{/ts} {$totalRowCount} {ts}Total rows (participant records) in uploaded file.{/ts}
{ts}Invalid Rows (skipped){/ts}
{ts}Invalid Rows (skipped){/ts} {$invalidRowCount} {ts}Rows with invalid data in one or more fields. These rows will be skipped (not imported).{/ts} {if $invalidRowCount} @@ -95,7 +95,7 @@ {/if} {if $unMatchCount } -
{ts}Mismatched Rows (skipped){/ts}
{ts}Mismatched Rows (skipped){/ts} {$unMatchCount} {ts}Rows with mismatched participant IDs... (NOT updated).{/ts} {if $unMatchCount} @@ -106,7 +106,7 @@ {/if} {if $conflictRowCount} -
{ts}Conflicting Rows (skipped){/ts}
{ts}Conflicting Rows (skipped){/ts} {$conflictRowCount} {ts}Rows with conflicting participant IDs (NOT imported).{/ts} {if $conflictRowCount} @@ -117,7 +117,7 @@ {/if} {if $duplicateRowCount} -
{ts}Duplicate Rows{/ts}
{ts}Duplicate Rows{/ts} {$duplicateRowCount} {ts}Rows which are duplicates of existing CiviCRM participant records.{/ts} {$dupeActionString} {if $duplicateRowCount} @@ -127,7 +127,7 @@
{ts}Records Imported{/ts}
{ts}Records Imported{/ts} {$validRowCount} {ts}Rows imported successfully.{/ts}