[tor-commits] [donate-static/staging] Move the /state-disclosures page to markdown

kez at torproject.org kez at torproject.org
Wed Jun 30 17:57:05 UTC 2021


commit 26e67a631d5f7528bb999ac36934c6515cff04cc
Author: kez <kez at torproject.org>
Date:   Wed Jun 30 00:43:34 2021 -0400

    Move the /state-disclosures page to markdown
    
    See: tpo/web/donate-static#34
---
 content/state-disclosures/contents.lr | 61 ++++++++++++++++++-----------------
 models/state-disclosures.ini          |  9 ++++++
 templates/state-disclosures.html      | 18 +++++++++++
 3 files changed, 58 insertions(+), 30 deletions(-)

diff --git a/content/state-disclosures/contents.lr b/content/state-disclosures/contents.lr
index 4085d0b3..c7ba8fdb 100644
--- a/content/state-disclosures/contents.lr
+++ b/content/state-disclosures/contents.lr
@@ -1,6 +1,6 @@
-_model: donate-page
+_model: state-disclosures
 ---
-_template: donate-empty.html
+_template: state-disclosures.html
 ---
 section_id: donate
 ---
@@ -8,33 +8,34 @@ section: Donate
 ---
 title: State Disclosures
 ---
+preamble: Certain states require written disclosures for nonprofit organizations soliciting contributions. Individual state disclosures are below.
+---
 body:
 
-<div class="fixed-width">
-  <div class="state-disclosures">
-    <div class="preamble">
-      <p>Certain states require written disclosures for nonprofit organizations soliciting contributions. Individual state disclosures are below.</p>
-    </div>
-    <p><b>Florida</b>: a copy of the official registration and financial information may be obtained from the division of consumer services by calling toll-free, within the state, 1-800-435-7352 (800-HELP-FLA), or visiting www.FloridaConsumerHelp.com. Registration does not imply endorsement, approval, or recommendation by the state. Florida Registration #CH58356</p>
-    <p><b>Georgia</b>: A full and fair description of our programs and our financial statement summary is available upon request at The Tor Project, Inc.; 217 First Avenue South #4903; Seattle, WA 98194 and phone number 206-420-3136.</p>
-    <p><b>Maryland</b>: For the cost of copies and postage, from the Office of the Secretary of State, State House, Annapolis, MD 21401.</p>
-    <p><b>Nevada</b>: Contributions may be tax deductible pursuant to the provisions of sec. 170(c) of the Internal Revenue Code of 1986, 26 U.S.C. ¤170(c).</p>
-    <p><b>New Jersey</b>: Information filed with the attorney general concerning this charitable solicitation and the percentage of contributions received by the charity during the last reporting period that were dedicated to the charitable purpose may be obtained from the attorney general of the state of New Jersey by calling (973) 504-6215 and is available on the internet at <a href="https://www.state.nj.us/lps/ca/charfrm.htm" target="_blank" class="hyperlinks links">www.state.nj.us/lps/ca/charfrm.htm</a>. Registration with the attorney general does not imply endorsement.</p>
-    <p><b>New York</b>: Upon request, from the Attorney General's Charities Bureau, 28 Liberty Street, New York, NY 10005, 1-212-416-8686 or <a href="https://www.charitiesnys.com" target="_blank" class="hyperlinks links">www.charitiesnys.com</a>.</p>
-    <p><b>North Carolina</b>: Financial information about this organization and a copy of its license are available from the State Solicitation Licensing Branch at 1-919-814-5400. The license is not an endorsement by the state.</p>
-    <p><b>Pennsylvania</b>: The official registration and financial information of The Tor Project, Inc. may be obtained from the Pennsylvania Department of State by calling toll-free, within Pennsylvania, 1-800-732-0999.</p>
-    <p><b>Virginia</b>: From the State Office of Consumer Affairs in the Department of Agriculture and Consumer Affairs, P.O. Box 1163, Richmond, VA 23218.</p>
-    <p><b>Washington</b>: From the Secretary of State at 1-800-332-4483 or <a href="http://www.sos.wa.gov/charities" target="_blank" class="hyperlinks links">http://www.sos.wa.gov/charities/</a></p>
-    <p><b>West Virginia</b>: West Virginia residents may obtain a summary of the registration and financial documents from the Secretary of State, State Capitol, Charleston, WV 25305.</p>
-    <p><b>Wisconsin</b>: A financial statement of the charitable organization disclosing assets, liabilities, fund balances, revenue and expenses for the preceding fiscal year will be provided to any person upon request.</p>
-    <h4>Registration with a state agency does not constitute or imply endorsement, approval or recommendation by that state.</h4>
-    <p>More information about <a href="http://www.labyrinthinc.com/charity-resources/nonprofit-regulations/fundraising-disclosure-statements/" target="_blank" class="hyperlinks links">state disclosure verbiage</a> and <a href="http://www.labyrinthinc.com/charity-resources/annual-charitable-state-registrations/charity-solicitation-registration-white-paper/" target="_blank" class="hyperlinks links">charitable state registrations</a>.</p>
-    <hr/>
-    <div class="button-line">
-      <a class="purple button" href="../donor-faq">Back to Donate FAQ</a>
-    </div>
-    <div class="button-line">
-      <a class="purple button" href="../">Back to Donate Page</a>
-    </div>
-  </div>
-</div>
+**Florida**: a copy of the official registration and financial information may be obtained from the division of consumer services by calling toll-free, within the state, 1-800-435-7352 (800-HELP-FLA), or visiting [www.FloridaConsumerHelp.com](www.FloridaConsumerHelp.com "" target="_blank" rel="noopener"). Registration does not imply endorsement, approval, or recommendation by the state. Florida Registration #CH58356
+
+**Georgia**: A full and fair description of our programs and our financial statement summary is available upon request at The Tor Project, Inc.; 217 First Avenue South #4903; Seattle, WA 98194 and phone number 206-420-3136.
+
+**Maryland**: For the cost of copies and postage, from the Office of the Secretary of State, State House, Annapolis, MD 21401.
+
+**Nevada**: Contributions may be tax deductible pursuant to the provisions of sec. 170(c) of the Internal Revenue Code of 1986, 26 U.S.C. ¤170(c).
+
+**New Jersey**: Information filed with the attorney general concerning this charitable solicitation and the percentage of contributions received by the charity during the last reporting period that were dedicated to the charitable purpose may be obtained from the attorney general of the state of New Jersey by calling (973) 504-6215 and is available on the internet at [https://www.state.nj.us/lps/ca/charfrm.htm](https://www.state.nj.us/lps/ca/charfrm.htm "" target="_blank" rel="noopener" class="hyperlinks links"). Registration with the attorney general does not imply endorsement.
+
+**New York**: Upon request, from the Attorney General's Charities Bureau, 28 Liberty Street, New York, NY 10005, 1-212-416-8686 or [www.charitiesnys.com](https://www.charitiesnys.com "" target="_blank" class="hyperlinks links").
+
+**North Carolina**: Financial information about this organization and a copy of its license are available from the State Solicitation Licensing Branch at 1-919-814-5400. The license is not an endorsement by the state.
+
+**Pennsylvania**: The official registration and financial information of The Tor Project, Inc. may be obtained from the Pennsylvania Department of State by calling toll-free, within Pennsylvania, 1-800-732-0999.
+
+**Virginia**: From the State Office of Consumer Affairs in the Department of Agriculture and Consumer Affairs, P.O. Box 1163, Richmond, VA 23218.
+
+**Washington**: From the Secretary of State at 1-800-332-4483 or [http://www.sos.wa.gov/charities/](http://www.sos.wa.gov/charities "" target="_blank" class="hyperlinks links")
+
+**West Virginia**: West Virginia residents may obtain a summary of the registration and financial documents from the Secretary of State, State Capitol, Charleston, WV 25305.
+
+**Wisconsin**: A financial statement of the charitable organization disclosing assets, liabilities, fund balances, revenue and expenses for the preceding fiscal year will be provided to any person upon request.
+
+#### Registration with a state agency does not constitute or imply endorsement, approval or recommendation by that state.
+
+More information about [state disclosure verbiage](http://www.labyrinthinc.com/charity-resources/nonprofit-regulations/fundraising-disclosure-statements/) "" class="hyperlinks links" target="_blank" rel="noopener") and [charitable state registrations](http://www.labyrinthinc.com/charity-resources/annual-charitable-state-registrations/charity-solicitation-registration-white-paper/ "" class="hyperlinks links" target="_blank" rel="noopener").
diff --git a/models/state-disclosures.ini b/models/state-disclosures.ini
new file mode 100644
index 00000000..e4f9516d
--- /dev/null
+++ b/models/state-disclosures.ini
@@ -0,0 +1,9 @@
+[model]
+name = Donate Page
+label = {{ this.title }}
+inherits = donate-page
+
+[fields.preamble]
+label = Preamble
+type = markdown
+translate = True
\ No newline at end of file
diff --git a/templates/state-disclosures.html b/templates/state-disclosures.html
new file mode 100644
index 00000000..ac8fc4ee
--- /dev/null
+++ b/templates/state-disclosures.html
@@ -0,0 +1,18 @@
+{% extends "donate-empty.html" %}
+{% block donate_content %}
+<div class="fixed-width">
+  <div class="state-disclosures">
+    <div class="preamble">
+      {{ this.preamble }}
+    </div>
+    {{ this.body }}
+    <hr/>
+    <div class="button-line">
+      <a class="purple button" href="../donor-faq">Back to Donate FAQ</a>
+    </div>
+    <div class="button-line">
+      <a class="purple button" href="../">Back to Donate Page</a>
+    </div>
+  </div>
+</div>
+{% endblock %}





More information about the tor-commits mailing list