[tor-commits] [community/develop] Add year material was produced

pili at torproject.org pili at torproject.org
Wed Apr 8 18:29:50 UTC 2020


commit 1a940bc5daa95683f6e7be379939b302c766a6ba
Author: Pili Guerra <pili at piliguerra.com>
Date:   Wed Apr 8 19:27:54 2020 +0100

    Add year material was produced
---
 databags/outreach-materials.ini   | 30 +++++++++++++++++++++---------
 templates/outreach-materials.html |  2 ++
 2 files changed, 23 insertions(+), 9 deletions(-)

diff --git a/databags/outreach-materials.ini b/databags/outreach-materials.ini
index e530e50..178b23b 100644
--- a/databags/outreach-materials.ini
+++ b/databags/outreach-materials.ini
@@ -1,16 +1,10 @@
-[one-pager]
-location = https://media.torproject.org/misc/
-filename_front = 2018-08-Tor-one-pager.pdf#page=1
-filename_back = 2018-08-Tor-one-pager.pdf#page=2
-label = Tor one pager
-type = handout
-
 [anti-censorship]
 location = https://gitlab.torproject.org/torproject/community/outreach/-/raw/master/print/en_EN/
 filename_front = Front_anti-censorship_en_EN.pdf
 filename_back = Back_stencil_en_EN.pdf
 label = Tor for Anti-censorship
 type = handout
+year = 2019
 
 [feminists]
 location = https://gitlab.torproject.org/torproject/community/outreach/-/raw/master/print/en_EN/
@@ -18,6 +12,7 @@ filename_front = Front_feminist_en_EN.pdf
 filename_back = Back_feminist_en_EN.pdf
 label = Tor for Feminists
 type = handout
+year = 2019
 
 [human-rights]
 location = https://gitlab.torproject.org/torproject/community/outreach/-/raw/master/print/en_EN/
@@ -25,6 +20,7 @@ filename_front = Front_humanrights_en_EN.pdf
 filename_back = Back_stencil_en_EN.pdf
 label = Tor for Human Rights
 type = handout
+year = 2019
 
 [privacy]
 location = https://gitlab.torproject.org/torproject/community/outreach/-/raw/master/print/en_EN/
@@ -32,11 +28,27 @@ filename_front = Front_privacy_en_EN.pdf
 filename_back = Back_stencil_en_EN.pdf
 label = Tor for Privacy
 type = handout
+year = 2019
 
-[relay]
+[one-pager]
+location = https://media.torproject.org/misc/
+filename_front = 2018-08-Tor-one-pager.pdf#page=1
+filename_back = 2018-08-Tor-one-pager.pdf#page=2
+label = Tor one pager
+type = handout
+year = 2018
 
+[relay]
 location = https://gitlab.torproject.org/torproject/ux/media/-/raw/master/outreach-material/handouts/
 filename_front = tor-relay_4.25x11_card_front.jpg
 filename_back = tor-relay-4.25x11_card_back.jpg
 label = Run a relay
-type = handout
\ No newline at end of file
+type = handout
+year = 2018
+
+[brochure]
+location = https://media.torproject.org/misc/2015-03-tor-brochure/
+filename = tor-brochure-en.pdf
+label = Tor Brochure
+type = brochure
+year = 2015
\ No newline at end of file
diff --git a/templates/outreach-materials.html b/templates/outreach-materials.html
index d34d999..d0bdaa8 100644
--- a/templates/outreach-materials.html
+++ b/templates/outreach-materials.html
@@ -10,6 +10,7 @@
               <th scope="col">Title</th>
               <th scope="col">Type</th>
               <th scope="col">Links</th>
+              <th scope="col">Last Updated</th>
             </tr>
           </thead>
           <tbody>
@@ -24,6 +25,7 @@
                   <a href="{{item.location}}{{item.filename}}">File</a>
                 {% endif %}
               </td>
+              <td>{{ item.year }}</td>
             </tr>
           {% endfor %}
           </tbody>



More information about the tor-commits mailing list