Fix #258 and add donation link

This commit is contained in:
gus 2022-04-22 17:43:43 -03:00 committed by Gus
parent 3e86a15b99
commit 56b39061e0
2 changed files with 42 additions and 29 deletions

View File

@ -15,8 +15,8 @@ label = Nos-oignons
country = France
contact = contact at nos-oignons.net
active = True
display =
donate =
display = True
donate = https://nos-oignons.net/Donnez/index.en.html
[enn]
link = https://enn.lu/
@ -24,8 +24,8 @@ image =
label = Frënn vun der Ënn A.S.B.L.
country = Luxembourg
contact = info@enn.lu
active = True
display =
active = False
display = True
donate =
[emerald-onion]
@ -35,7 +35,7 @@ label = Emerald Onion
country = US
contact =
active = True
display =
display = True
donate = https://emeraldonion.org/donate/
[hartvoorinternetvrijheid]
@ -45,8 +45,8 @@ label = Hart voor Internetvrijheid
country = Netherlands
contact = bestuur@hartvoorinternetvrijheid.nl
active = True
display =
donate =
display = True
donate = https://www.hartvoorinternetvrijheid.nl/donaties.html
[coldhak]
link = https://coldhak.ca/relays/
@ -55,8 +55,8 @@ label = Coldhak
country = Canada
contact = https://coldhak.ca/about/
active = True
display =
donate =
display = True
donate = https://www.patreon.com/coldhak
[appliedprivacy]
link = https://appliedprivacy.net/
@ -65,8 +65,8 @@ label = Foundation for Applied Privacy
country = Austria
contact = tor@appliedprivacy.net
active = True
display =
donate =
display = True
donate = https://applied-privacy.net/donate/
[dfri]
link = https://www.dfri.se/
@ -75,8 +75,8 @@ label = Föreningen för Digitala Fri- och Rättigheter
country = Sweden
contact = dfri@dfri.se
active = True
display =
donate =
display = True
donate = https://www.dfri.se/donera/?lang=en
[calyxinstitute]
link = https://www.calyxinstitute.org
@ -85,8 +85,8 @@ label = The Calyx Institute
country = US
contact = nick@calyx.com
active = True
display =
donate =
display = True
donate = https://members.calyxinstitute.org/donate
[noisetor]
link = https://noisetor.net
@ -95,7 +95,7 @@ label = NoiseTor
country = US
contact =
active = True
display =
display = True
donate =
[icetor]
@ -104,7 +104,7 @@ image =
label = Icetor
country = Iceland
contact = admin <AT> icetor <dot> is
active =
active = False
display =
donate =
@ -114,9 +114,9 @@ image =
label = Swiss Privacy Foundation
country = Switzerland
contact = office@privacyfoundation.ch
active =
display =
donate =
active = True
display = True
donate =
[digitalcourage]
link = https://digitalcourage.de/support/tor
@ -125,7 +125,7 @@ label = Digitalcourage e.V.
country = Germany
contact =
active = True
display =
display = True
donate = https://digitalcourage.de/spenden
[accessnow]
@ -135,7 +135,7 @@ label = Access Now
country = US
contact =
active = True
display =
display = True
donate =
[brasshorncommunications]
@ -145,8 +145,8 @@ label = BrassHorn Communications
country = UK
contact = hello@brasshorncommunications.uk
active = True
display =
donate =
display = True
donate = https://brasshorncommunications.uk/members/
[artikel5ev]
link = https://www.artikel5ev.de/aktuelles/
@ -155,7 +155,7 @@ label = Artikel 5 e.V.
country = Germany
contact = https://www.artikel5ev.de/kontakt/
active = True
display =
display = True
donate =
[artikel10ev]
@ -165,5 +165,5 @@ label = Artikel 10 e.V.
country = Germany
contact = https://artikel10.org/kontakt/
active = True
display =
display = True
donate =

View File

@ -9,11 +9,12 @@
<tr>
<th scope="col">Organization Name</th>
<th scope="col">Country</th>
<th scope="col">Status</th>
<th scope="col">Donate</th>
</tr>
</thead>
<tbody>
{% for id, item in bag('relay-associations').items() %}
{% if item.active == 'True' %}
<tr>
<td>
{% if item.link|length %}
@ -24,12 +25,24 @@
</td>
<td>{{ item.country }}</td>
{% if item.active=='True' %}
<td>Active</td>
{% else %}
<td>Inactive</td>
{% endif %}
<td>
{% if item.donate|length %}
<a href="{{ item.donate }}">Donate now!</a>
{% else %}
{{ item.donate }}
{% endif %}
</td>
</tr>
{% endif %}
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>