lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 530d18e 1/2: Expunge extraordinary variable '


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 530d18e 1/2: Expunge extraordinary variable 'HasComplianceTrackingNumber'
Date: Wed, 19 Jun 2019 16:55:39 -0400 (EDT)

branch: master
commit 530d18e64e1af508551560dbb3d53fd0d164b4f7
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Expunge extraordinary variable 'HasComplianceTrackingNumber'
    
    * reg_d_group_narr_summary2.mst: Removed the entire 'imprimatur' block,
    including its legend and its conditional.
    * pdf_command_wx.cpp: Expunged 'HasComplianceTrackingNumber', its
    unusual implementation, and the accompanying citation.
    
    Because of recent changes, 'imprimatur' is now shown (unconditionally)
    on the cover page for Reg D illustrations, so it need no longer be shown
    (conditionally) on a later narrative page. 'HasComplianceTrackingNumber'
    was used only to implement that condition, so it's no longer needed at
    all; its removal is especially welcome because it had been harder to
    define than other variables, as explained here:
      https://lists.nongnu.org/archive/html/lmi/2019-02/msg00001.html
---
 pdf_command_wx.cpp            | 9 ---------
 reg_d_group_narr_summary2.mst | 6 ------
 2 files changed, 15 deletions(-)

diff --git a/pdf_command_wx.cpp b/pdf_command_wx.cpp
index c429ba3..4aa3146 100644
--- a/pdf_command_wx.cpp
+++ b/pdf_command_wx.cpp
@@ -943,15 +943,6 @@ class pdf_illustration : protected html_interpolator, 
protected pdf_writer_wx
         add_abbreviated_variable("ContractNumber", full_abbrev_length);
         add_abbreviated_variable("ContractNumber", full_abbrev_length / 2);
 
-        // Check for anything but whitespace--see:
-        //   https://lists.nongnu.org/archive/html/lmi/2019-02/msg00001.html
-        add_variable
-            ("HasComplianceTrackingNumber"
-            ,expand_template("imprimatur")
-                .as_html().find_first_not_of(" \n")
-                != std::string::npos
-            );
-
         add_variable
             ("HasScaleUnit"
             ,!invar.scale_unit().empty()
diff --git a/reg_d_group_narr_summary2.mst b/reg_d_group_narr_summary2.mst
index 1cbeba3..d56da7c 100644
--- a/reg_d_group_narr_summary2.mst
+++ b/reg_d_group_narr_summary2.mst
@@ -113,12 +113,6 @@ or sending money.
 The state of issue is {{StateOfJurisdiction}}.
 </p>
 
-{{#HasComplianceTrackingNumber}}
-    <p>
-    Compliance tracking number: {{>imprimatur}}
-    </p>
-{{/HasComplianceTrackingNumber}}
-
 <p>
 SEPARATE ACCOUNT
 </p>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]