[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master ea2564b 099/156: Split the NASD header templa
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master ea2564b 099/156: Split the NASD header template in the upper and lower parts |
Date: |
Tue, 30 Jan 2018 17:22:21 -0500 (EST) |
branch: master
commit ea2564ba6ee73808a7cf00710b4fda04e9eca2c9
Author: Vadim Zeitlin <address@hidden>
Commit: Vadim Zeitlin <address@hidden>
Split the NASD header template in the upper and lower parts
Still keep the entire header template too, for the pages that can use it
unchanged, but also allow including the upper part, inserting some extra
text and then including the lower part for the pages that need to put
the title between them.
---
nasd_header.mustache | 89 +++-------------------
nasd_header.mustache => nasd_header_lower.mustache | 20 -----
nasd_header_upper.mustache | 18 +++++
3 files changed, 27 insertions(+), 100 deletions(-)
diff --git a/nasd_header.mustache b/nasd_header.mustache
index 2b5492b..433d7f2 100644
--- a/nasd_header.mustache
+++ b/nasd_header.mustache
@@ -1,80 +1,9 @@
-<scaled_image inv_factor="0.36" src="company_logo.png"></scaled_image>
-
-<br></br>
-<br></br>
-
-<p>
-The purpose of this illustration is to show how the performance
-of the underlying investment account could affect the
-{{ContractName}} account value and death benefit.
-<b>
-These hypothetical returns do not reflect past performance
-and are not predictive of future results. Actual results could be
-less than or greater than the hypothetical results
-and in all likelihood will vary from year to year.
-</b>
-</p>
-
-<br></br>
-<br></br>
-
-<table width="100%" cellspacing="0" cellpadding="0" valign="top">
- <tr>
- <td>
- {{#Composite}}
- {{CorpNameAbbrev60}}
- {{/Composite}}
- {{^Composite}}
- {{Insured1Abbrev30}}
- {{/Composite}},
- {{Gender}} {{Smoker}} rates, Age {{Age}}<br>
- {{#Composite}}
- Composite<br>
- {{/Composite}}
- {{ContractNameCap}}: {{PolicyMktgName}}<br>
- {{#GroupCarveout}}
- Minimum Initial Premium: ${{InitMinPrem}}<br>
- {{/GroupCarveout}}
- First Year Premium: ${{InitPrem}}<br>
- {{^Composite}}
- {{#UWTypeIsMedical}}
- Fully underwritten,
- {{/UWTypeIsMedical}}
- {{^UWTypeIsMedical}}
- {{#UWTypeIsGuaranteedIssueInTexasWithFootnote}}
- Substandard ***,
- {{/UWTypeIsGuaranteedIssueInTexasWithFootnote}}
- {{^UWTypeIsGuaranteedIssueInTexasWithFootnote}}
- {{UWType}},
- {{/UWTypeIsGuaranteedIssueInTexasWithFootnote}}
- {{/UWTypeIsMedical}}
- {{UWClass}}, Initial Death Benefit Option: {{InitDBOpt}}<br>
- {{#UWClassIsRated}}
- Table Rating: {{SubstandardTable}}<br>
- {{/UWClassIsRated}}
- {{/Composite}}
- {{>contract_numbers}}
- </td>
- <td>
- Assumed Premium Allocation:**<br>
- Separate Account:
{{GenAcctAllocationComplementPercent}}<br>
- Guaranteed Principal Account (GPA):
{{GenAcctAllocationPercent}}<br>
- Initial
- {{#HasTermOrSupplSpecAmt}}
- Total
- {{/HasTermOrSupplSpecAmt}}
- Face Amount: ${{InitTotalSA}}<br>
- {{#HasTermOrSupplSpecAmt}}
- Initial Base Face Amount: ${{InitBaseSpecAmt}}<br>
- Initial
- {{#HasTerm}}
- Term Face Amount:
- {{/HasTerm}}
- {{#HasSupplSpecAmt}}
- Supplemental Face Amount:
- {{/HasSupplSpecAmt}}
- ${{InitTermSpecAmt}}<br>
- {{/HasTermOrSupplSpecAmt}}
- </td>
- </tr>
-</table>
+{{!
+ The header is split in two parts, upper and lower one, only to allow
+ inserting the title between them, as a couple of pages do. But we still
+ provide this "full header" template for the pages that don't have any
+ title to make them simpler.
+ }}
+{{>nasd_header_upper}}
+<br></br>
+{{>nasd_header_lower}}
diff --git a/nasd_header.mustache b/nasd_header_lower.mustache
similarity index 81%
copy from nasd_header.mustache
copy to nasd_header_lower.mustache
index 2b5492b..0f90d95 100644
--- a/nasd_header.mustache
+++ b/nasd_header_lower.mustache
@@ -1,23 +1,3 @@
-<scaled_image inv_factor="0.36" src="company_logo.png"></scaled_image>
-
-<br></br>
-<br></br>
-
-<p>
-The purpose of this illustration is to show how the performance
-of the underlying investment account could affect the
-{{ContractName}} account value and death benefit.
-<b>
-These hypothetical returns do not reflect past performance
-and are not predictive of future results. Actual results could be
-less than or greater than the hypothetical results
-and in all likelihood will vary from year to year.
-</b>
-</p>
-
-<br></br>
-<br></br>
-
<table width="100%" cellspacing="0" cellpadding="0" valign="top">
<tr>
<td>
diff --git a/nasd_header_upper.mustache b/nasd_header_upper.mustache
new file mode 100644
index 0000000..a115aa7
--- /dev/null
+++ b/nasd_header_upper.mustache
@@ -0,0 +1,18 @@
+<scaled_image inv_factor="0.36" src="company_logo.png"></scaled_image>
+
+<br></br>
+<br></br>
+
+<p>
+The purpose of this illustration is to show how the performance
+of the underlying investment account could affect the
+{{ContractName}} account value and death benefit.
+<b>
+These hypothetical returns do not reflect past performance
+and are not predictive of future results. Actual results could be
+less than or greater than the hypothetical results
+and in all likelihood will vary from year to year.
+</b>
+</p>
+
+<br></br>
- [lmi-commits] [lmi] master 7ccd207 087/156: Rename "footer_contents" to more precise "page_number", (continued)
- [lmi-commits] [lmi] master 7ccd207 087/156: Rename "footer_contents" to more precise "page_number", Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 3a64b87 094/156: Correct misleading comment for page class dtor, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 4e76bba 098/156: Add support for comments to the string interpolation function, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master b5fe850 102/156: Add NASD basic illustration page, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 4250de9 104/156: Add first variant of NASD supplemental page, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 7a1e1e8 025/156: Include the missing <cstring> header, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 8bfb896 109/156: Add NASD illustration first explanatory notes page, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master ea20a31 095/156: Make pdf_illustration dtor virtual, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 61fae89 091/156: Reimplement the contract numbers fragment as an external template, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 0c55621 085/156: Replace trivial PDF page classes with single standard_page one, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master ea2564b 099/156: Split the NASD header template in the upper and lower parts,
Greg Chicares <=
- [lmi-commits] [lmi] master c1bf4a8 032/156: Adjust position of the right hand side of the header manually, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 89b4674 120/156: Add automatic support for multiline super-headers, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 0f885a2 116/156: Define CorpNameAbbrev60 and Insured1Abbrev30 in common code, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 08559c3 121/156: Factor out base_suffix() and ir_suffix() functions, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 36c84ce 123/156: Add another individual private placement illustration page, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 0ecc8ec 036/156: Add support for partials to our ad hoc Mustache parser, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 6f09722 107/156: Add missing words to the narrative summary continuation page, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 6510601 150/156: Rename a mute variable to avoid gcc -Wshadow warning, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 048ae05 093/156: Start NASD PDF illustration class implementation, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 5ea5c86 101/156: Simplify and correct current PDF DC font handling, Greg Chicares, 2018/01/30