[tor-commits] [tpo/staging] Edit sponsors models and add documents

hiro at torproject.org hiro at torproject.org
Tue Jan 22 15:13:53 UTC 2019


commit 7d95fddc45595cfadb54fa158ce1c08e5ca2da48
Author: hiro <hiro at torproject.org>
Date:   Tue Jan 22 16:13:32 2019 +0100

    Edit sponsors models and add documents
---
 content/about/reports/2007-irs-form-990/contents.lr           | 11 +++++++++++
 content/about/reports/2008-financial-statements/contents.lr   | 11 +++++++++++
 content/about/reports/2008-irs-form-990/contents.lr           | 11 +++++++++++
 content/about/reports/2009-annual-report/contents.lr          | 11 +++++++++++
 content/about/reports/2009-data-collection/contents.lr        | 11 +++++++++++
 content/about/reports/2009-financial-statements/contents.lr   | 11 +++++++++++
 content/about/reports/2009-irs-form-990/contents.lr           | 11 +++++++++++
 content/about/reports/2010-irs-form-990/contents.lr           | 11 +++++++++++
 content/about/reports/2011-data-collection/contents.lr        | 11 +++++++++++
 content/about/reports/2011-financial-statements/contents.lr   | 11 +++++++++++
 content/about/reports/2011-form-pc/contents.lr                | 11 +++++++++++
 content/about/reports/2011-irs-form-990/contents.lr           | 11 +++++++++++
 content/about/reports/2012-annual-report/contents.lr          | 11 +++++++++++
 content/about/reports/2012-financial-statements/contents.lr   | 11 +++++++++++
 content/about/reports/2012-form-pc/contents.lr                | 11 +++++++++++
 content/about/reports/2012-irs-form-990/contents.lr           | 11 +++++++++++
 content/about/reports/2013-financial-statements/contents.lr   | 11 +++++++++++
 content/about/reports/2013-form-pc/contents.lr                | 11 +++++++++++
 content/about/reports/2013-irs-form-990/contents.lr           | 11 +++++++++++
 content/about/reports/2014-irs-form-990/contents.lr           | 11 +++++++++++
 content/about/reports/2015-irs-form-990/contents.lr           | 11 +++++++++++
 .../about/reports/2016-12-05-tor-project-bylaws/contents.lr   | 11 +++++++++++
 content/about/reports/2016-irs-form-990/contents.lr           | 11 +++++++++++
 .../{fiscal-year-2017 => 2017-irs-form-990}/contents.lr       |  2 +-
 .../reports/articles-of-organization-as-filed/contents.lr     |  9 +++++++++
 content/about/reports/articles-of-organization/contents.lr    |  9 +++++++++
 content/about/reports/conflict-of-interest/contents.lr        |  9 +++++++++
 content/about/reports/form-1023-exhibit-A/contents.lr         |  9 +++++++++
 content/about/reports/form-1023/contents.lr                   |  9 +++++++++
 content/about/reports/irs-determination-letter/contents.lr    |  9 +++++++++
 models/report.ini                                             |  6 +++---
 models/reports.ini                                            |  2 +-
 templates/macros/reports.html                                 |  5 ++++-
 33 files changed, 316 insertions(+), 6 deletions(-)

diff --git a/content/about/reports/2007-irs-form-990/contents.lr b/content/about/reports/2007-irs-form-990/contents.lr
new file mode 100644
index 0000000..cf8c80c
--- /dev/null
+++ b/content/about/reports/2007-irs-form-990/contents.lr
@@ -0,0 +1,11 @@
+_model: report
+---
+type: report
+---
+date: 2007
+---
+tags: Fiscal Year 2007
+---
+title: 2007 IRS Form 990
+---
+link: https://www.torproject.org/about/findoc/2007-TorProject-Form990.pdf
diff --git a/content/about/reports/2008-financial-statements/contents.lr b/content/about/reports/2008-financial-statements/contents.lr
new file mode 100644
index 0000000..f124392
--- /dev/null
+++ b/content/about/reports/2008-financial-statements/contents.lr
@@ -0,0 +1,11 @@
+_model: report
+---
+type: report
+---
+date: 2008
+---
+tags: Fiscal Year 2008
+---
+title: 2008 Financial Statements and Audit Results
+---
+link: https://www.torproject.org/about/findoc/2008-TorProject-FinancialStatements.pdf
diff --git a/content/about/reports/2008-irs-form-990/contents.lr b/content/about/reports/2008-irs-form-990/contents.lr
new file mode 100644
index 0000000..0e64a97
--- /dev/null
+++ b/content/about/reports/2008-irs-form-990/contents.lr
@@ -0,0 +1,11 @@
+_model: report
+---
+type: report
+---
+date: 2008
+---
+tags: Fiscal Year 2008
+---
+title: 2008 IRS Form 990
+---
+link: https://www.torproject.org/about/findoc/2008-TorProject-Form990.pdf
diff --git a/content/about/reports/2009-annual-report/contents.lr b/content/about/reports/2009-annual-report/contents.lr
new file mode 100644
index 0000000..5e20c5e
--- /dev/null
+++ b/content/about/reports/2009-annual-report/contents.lr
@@ -0,0 +1,11 @@
+_model: report
+---
+type: report
+---
+date: 2009
+---
+tags: Fiscal Year 2009
+---
+title: 2009 Annual Report
+---
+link: https://www.torproject.org/about/findoc/2009-TorProject-Annual-Report.pdf
diff --git a/content/about/reports/2009-data-collection/contents.lr b/content/about/reports/2009-data-collection/contents.lr
new file mode 100644
index 0000000..4b25dd5
--- /dev/null
+++ b/content/about/reports/2009-data-collection/contents.lr
@@ -0,0 +1,11 @@
+_model: report
+---
+type: report
+---
+date: 2009
+---
+tags: Fiscal Year 2009
+---
+title: 2009 Dept of Commerce Data Collection Form
+---
+link: https://www.torproject.org/about/findoc/2009-TorProject-DCF.pdf
diff --git a/content/about/reports/2009-financial-statements/contents.lr b/content/about/reports/2009-financial-statements/contents.lr
new file mode 100644
index 0000000..f7c4d67
--- /dev/null
+++ b/content/about/reports/2009-financial-statements/contents.lr
@@ -0,0 +1,11 @@
+_model: report
+---
+type: report
+---
+date: 2009
+---
+tags: Fiscal Year 2009
+---
+title: 2009 Financial Statements and Audit Results
+---
+link: https://www.torproject.org/about/findoc/2009-TorProject-FinancialStatements.pdf
diff --git a/content/about/reports/2009-irs-form-990/contents.lr b/content/about/reports/2009-irs-form-990/contents.lr
new file mode 100644
index 0000000..2fe0959
--- /dev/null
+++ b/content/about/reports/2009-irs-form-990/contents.lr
@@ -0,0 +1,11 @@
+_model: report
+---
+type: report
+---
+date: 2009
+---
+tags: Fiscal Year 2009
+---
+title: 2009 IRS Form 990
+---
+link: https://www.torproject.org/about/findoc/2009-TorProject-Form990.pdf
diff --git a/content/about/reports/2010-irs-form-990/contents.lr b/content/about/reports/2010-irs-form-990/contents.lr
new file mode 100644
index 0000000..55072e0
--- /dev/null
+++ b/content/about/reports/2010-irs-form-990/contents.lr
@@ -0,0 +1,11 @@
+_model: report
+---
+type: report
+---
+date: 2010
+---
+tags: Fiscal Year 2010
+---
+title: 2010 IRS Form 990, State of MA Form PC, and Independent Audit Results
+---
+link: https://www.torproject.org/about/findoc/2010-TorProject-combined-Form990_PC_Audit_Results.pdf
diff --git a/content/about/reports/2011-data-collection/contents.lr b/content/about/reports/2011-data-collection/contents.lr
new file mode 100644
index 0000000..0d0151c
--- /dev/null
+++ b/content/about/reports/2011-data-collection/contents.lr
@@ -0,0 +1,11 @@
+_model: report
+---
+type: report
+---
+date: 2011
+---
+tags: Fiscal Year 2011
+---
+title: 2011 Dept of Commerce Data Collection Form
+---
+link: https://www.torproject.org/about/findoc/2011-TorProject-DCF.pdf
diff --git a/content/about/reports/2011-financial-statements/contents.lr b/content/about/reports/2011-financial-statements/contents.lr
new file mode 100644
index 0000000..6bd6b70
--- /dev/null
+++ b/content/about/reports/2011-financial-statements/contents.lr
@@ -0,0 +1,11 @@
+_model: report
+---
+type: report
+---
+date: 2011
+---
+tags: Fiscal Year 2011
+---
+title: 2011 Financial Statements and Audit Report
+---
+link: https://www.torproject.org/about/findoc/2011-TorProject-Amended-Final-Report.pdf
diff --git a/content/about/reports/2011-form-pc/contents.lr b/content/about/reports/2011-form-pc/contents.lr
new file mode 100644
index 0000000..576789b
--- /dev/null
+++ b/content/about/reports/2011-form-pc/contents.lr
@@ -0,0 +1,11 @@
+_model: report
+---
+type: report
+---
+date: 2011
+---
+tags: Fiscal Year 2011
+---
+title: 2011 Steate of MA Form PC
+---
+link: https://www.torproject.org/about/findoc/2011-TorProject-FormPC.pdf
diff --git a/content/about/reports/2011-irs-form-990/contents.lr b/content/about/reports/2011-irs-form-990/contents.lr
new file mode 100644
index 0000000..d3b69f2
--- /dev/null
+++ b/content/about/reports/2011-irs-form-990/contents.lr
@@ -0,0 +1,11 @@
+_model: report
+---
+type: report
+---
+date: 2011
+---
+tags: Fiscal Year 2011
+---
+title: 2011 IRS Form 990
+---
+link: https://www.torproject.org/about/findoc/2011-TorProject-Form990.pdf
diff --git a/content/about/reports/2012-annual-report/contents.lr b/content/about/reports/2012-annual-report/contents.lr
new file mode 100644
index 0000000..6b85a3a
--- /dev/null
+++ b/content/about/reports/2012-annual-report/contents.lr
@@ -0,0 +1,11 @@
+_model: report
+---
+type: report
+---
+date: 2012
+---
+tags: Fiscal Year 2012
+---
+title: 2012 Annual Report
+---
+link: https://www.torproject.org/about/findoc/2012-TorProject-Annual-Report.pdf
diff --git a/content/about/reports/2012-financial-statements/contents.lr b/content/about/reports/2012-financial-statements/contents.lr
new file mode 100644
index 0000000..b57a068
--- /dev/null
+++ b/content/about/reports/2012-financial-statements/contents.lr
@@ -0,0 +1,11 @@
+_model: report
+---
+type: report
+---
+date: 2012
+---
+tags: Fiscal Year 2012
+---
+title: 2012 Financial Statements
+---
+link: https://www.torproject.org/about/findoc/2012-TorProject-FinancialStatements.pdf
diff --git a/content/about/reports/2012-form-pc/contents.lr b/content/about/reports/2012-form-pc/contents.lr
new file mode 100644
index 0000000..93e15ad
--- /dev/null
+++ b/content/about/reports/2012-form-pc/contents.lr
@@ -0,0 +1,11 @@
+_model: report
+---
+type: report
+---
+date: 2012
+---
+tags: Fiscal Year 2012
+---
+title: 2012 Steate of MA Form PC
+---
+link: https://www.torproject.org/about/findoc/2012-TorProject-FormPC.pdf
diff --git a/content/about/reports/2012-irs-form-990/contents.lr b/content/about/reports/2012-irs-form-990/contents.lr
new file mode 100644
index 0000000..8459a5e
--- /dev/null
+++ b/content/about/reports/2012-irs-form-990/contents.lr
@@ -0,0 +1,11 @@
+_model: report
+---
+type: report
+---
+date: 2012
+---
+tags: Fiscal Year 2012
+---
+title: 2012 IRS Form 990
+---
+link: https://www.torproject.org/about/findoc/2012-TorProject-Form990.pdf
diff --git a/content/about/reports/2013-financial-statements/contents.lr b/content/about/reports/2013-financial-statements/contents.lr
new file mode 100644
index 0000000..40a758f
--- /dev/null
+++ b/content/about/reports/2013-financial-statements/contents.lr
@@ -0,0 +1,11 @@
+_model: report
+---
+type: report
+---
+date: 2013
+---
+tags: Fiscal Year 2013
+---
+title: 2013 Financial Statements
+---
+link: https://www.torproject.org/about/findoc/2013-TorProject-FinancialStatements.pdf
diff --git a/content/about/reports/2013-form-pc/contents.lr b/content/about/reports/2013-form-pc/contents.lr
new file mode 100644
index 0000000..4e815ba
--- /dev/null
+++ b/content/about/reports/2013-form-pc/contents.lr
@@ -0,0 +1,11 @@
+_model: report
+---
+type: report
+---
+date: 2013
+---
+tags: Fiscal Year 2013
+---
+title: 2013 Steate of MA Form PC
+---
+link: https://www.torproject.org/about/findoc/2013-TorProject-FormPC.pdf
diff --git a/content/about/reports/2013-irs-form-990/contents.lr b/content/about/reports/2013-irs-form-990/contents.lr
new file mode 100644
index 0000000..0261f2c
--- /dev/null
+++ b/content/about/reports/2013-irs-form-990/contents.lr
@@ -0,0 +1,11 @@
+_model: report
+---
+type: report
+---
+date: 2013
+---
+tags: Fiscal Year 2013
+---
+title: 2013 IRS Form 990
+---
+link: https://www.torproject.org/about/findoc/2013-TorProject-Form990.pdf
diff --git a/content/about/reports/2014-irs-form-990/contents.lr b/content/about/reports/2014-irs-form-990/contents.lr
new file mode 100644
index 0000000..1ea5cbe
--- /dev/null
+++ b/content/about/reports/2014-irs-form-990/contents.lr
@@ -0,0 +1,11 @@
+_model: report
+---
+type: report
+---
+date: 2014
+---
+tags: Fiscal Year 2014
+---
+title: 2014 IRS Form 990, State of MA Form PC, and Independent Audit Results
+---
+link: https://www.torproject.org/about/findoc/2014-TorProject-combined-Form990_PC_Audit_Results.pdf
diff --git a/content/about/reports/2015-irs-form-990/contents.lr b/content/about/reports/2015-irs-form-990/contents.lr
new file mode 100644
index 0000000..d3886c5
--- /dev/null
+++ b/content/about/reports/2015-irs-form-990/contents.lr
@@ -0,0 +1,11 @@
+_model: report
+---
+type: report
+---
+date: 2015
+---
+tags: Fiscal Year 2015
+---
+title: 2015 IRS Form 990, State of MA Form PC, and Independent Audit Results
+---
+link: https://www.torproject.org/about/findoc/2015-TorProject-combined-Form990_PC_Audit_Results.pdf
diff --git a/content/about/reports/2016-12-05-tor-project-bylaws/contents.lr b/content/about/reports/2016-12-05-tor-project-bylaws/contents.lr
new file mode 100644
index 0000000..58933f6
--- /dev/null
+++ b/content/about/reports/2016-12-05-tor-project-bylaws/contents.lr
@@ -0,0 +1,11 @@
+_model: report
+---
+type: report
+---
+date: 2016
+---
+tags: Fiscal Year 2016
+---
+title: 2016-12-05 Tor Project Bylaws
+---
+link: https://www.torproject.org/about/findoc/2016-TorProject-Bylaws.pdf
diff --git a/content/about/reports/2016-irs-form-990/contents.lr b/content/about/reports/2016-irs-form-990/contents.lr
new file mode 100644
index 0000000..72dd971
--- /dev/null
+++ b/content/about/reports/2016-irs-form-990/contents.lr
@@ -0,0 +1,11 @@
+_model: report
+---
+type: report
+---
+date: 2016
+---
+tags: Fiscal Year 2016
+---
+title: 2016 IRS Form 990 and Independent Audit Results
+---
+link: https://www.torproject.org/about/findoc/2016-TorProject-combined-Form990_Audit_Results.pdf
diff --git a/content/about/reports/fiscal-year-2017/contents.lr b/content/about/reports/2017-irs-form-990/contents.lr
similarity index 87%
rename from content/about/reports/fiscal-year-2017/contents.lr
rename to content/about/reports/2017-irs-form-990/contents.lr
index 2dfa9db..cb23f28 100644
--- a/content/about/reports/fiscal-year-2017/contents.lr
+++ b/content/about/reports/2017-irs-form-990/contents.lr
@@ -4,7 +4,7 @@ type: report
 ---
 date: 2017
 ---
-tag: Fiscal Year 2017
+tags: Fiscal Year 2017
 ---
 title: 2017 IRS Form 990
 ---
diff --git a/content/about/reports/articles-of-organization-as-filed/contents.lr b/content/about/reports/articles-of-organization-as-filed/contents.lr
new file mode 100644
index 0000000..80df230
--- /dev/null
+++ b/content/about/reports/articles-of-organization-as-filed/contents.lr
@@ -0,0 +1,9 @@
+_model: report
+---
+type: document
+---
+title: Tor Articles of Organization as filed
+---
+description: Articles of Organization as they were filed by the Commonwealth of Massachusetts, including continuation pages.
+---
+link: https://gitweb.torproject.org/company/policies.git/plain/corpdocs/Tor-Articles-of-Organization-as-filed.pdf
diff --git a/content/about/reports/articles-of-organization/contents.lr b/content/about/reports/articles-of-organization/contents.lr
new file mode 100644
index 0000000..f3092b6
--- /dev/null
+++ b/content/about/reports/articles-of-organization/contents.lr
@@ -0,0 +1,9 @@
+_model: report
+---
+type: document
+---
+title: Tor Articles of Organization
+---
+description: Articles of Organization for Tor Project, Inc.
+---
+link: https://gitweb.torproject.org/company/policies.git/plain/corpdocs/Tor-Articles-of-Organization.pdf
diff --git a/content/about/reports/conflict-of-interest/contents.lr b/content/about/reports/conflict-of-interest/contents.lr
new file mode 100644
index 0000000..3041514
--- /dev/null
+++ b/content/about/reports/conflict-of-interest/contents.lr
@@ -0,0 +1,9 @@
+_model: report
+---
+type: document
+---
+title: Tor Conflict of Interest Policy
+---
+description: Policy protecting the organization's interest from officers and directors entering arrangements that might benefit their private interests.
+---
+link: https://gitweb.torproject.org/company/policies.git/plain/corpdocs/Tor-Conflict-of-Interest-Policy.pdf
diff --git a/content/about/reports/form-1023-exhibit-A/contents.lr b/content/about/reports/form-1023-exhibit-A/contents.lr
new file mode 100644
index 0000000..1467d54
--- /dev/null
+++ b/content/about/reports/form-1023-exhibit-A/contents.lr
@@ -0,0 +1,9 @@
+_model: report
+---
+type: document
+---
+title: Form 1023 Exhibit A
+---
+description: Form 1023 Exhibit A.
+---
+link: https://gitweb.torproject.org/company/policies.git/plain/corpdocs/Form-1023-Exhibit-A.pdf
diff --git a/content/about/reports/form-1023/contents.lr b/content/about/reports/form-1023/contents.lr
new file mode 100644
index 0000000..9c40029
--- /dev/null
+++ b/content/about/reports/form-1023/contents.lr
@@ -0,0 +1,9 @@
+_model: report
+---
+type: document
+---
+title: Form 1023
+---
+description: Application for Recognition of Exemption Under Section 501(c)(3) of the Internal Revenue Code.
+---
+link: https://gitweb.torproject.org/company/policies.git/plain/corpdocs/Form-1023.pdf
diff --git a/content/about/reports/irs-determination-letter/contents.lr b/content/about/reports/irs-determination-letter/contents.lr
new file mode 100644
index 0000000..290f639
--- /dev/null
+++ b/content/about/reports/irs-determination-letter/contents.lr
@@ -0,0 +1,9 @@
+_model: report
+---
+type: document
+---
+title: IRS Determination Letter
+---
+description: IRS decision that Tor Project, Inc. is exempt from Federal income tax under section 501(c)(3) of the Internal Revenue Code.
+---
+link: https://gitweb.torproject.org/company/policies.git/plain/corpdocs/IRS-Determination-Letter.pdf
diff --git a/models/report.ini b/models/report.ini
index d629831..4f114b0 100644
--- a/models/report.ini
+++ b/models/report.ini
@@ -15,9 +15,9 @@ type = string
 label = Type
 type = string
 
-[fields.tag]
-label = Tag
-type = string
+[fields.tags]
+label = Tags
+type = strings
 
 [fields.link]
 label = Link
diff --git a/models/reports.ini b/models/reports.ini
index eba6b0b..2dcb612 100644
--- a/models/reports.ini
+++ b/models/reports.ini
@@ -25,4 +25,4 @@ type = string
 
 [children]
 model = report
-order_by = name
+order_by = -year, -title
diff --git a/templates/macros/reports.html b/templates/macros/reports.html
index 1b399a9..20887b2 100644
--- a/templates/macros/reports.html
+++ b/templates/macros/reports.html
@@ -9,7 +9,10 @@
 {% macro render_report(item, alternative) %}
 <tr>
   <th scope="row">{{ item.date }}</th>
-  <td><span class="badge-pill badge-success">{{ item.tag }}</span></td>
+  <td>
+    {% for tag in item.tags %}
+      <span class="badge-pill badge-success">{{ tag }}</span></td>
+    {% endfor %}
   <td>{{ item.title }}</td>
   <td><a href="{{ item.link }}">View PDF</a></td>
 </tr>



More information about the tor-commits mailing list