Merge branch 'feature/count-signatures' of pmpc/website into master
commit
c3b24b99e2
|
@ -76,7 +76,7 @@ DefaultContentLanguage = "en"
|
||||||
[params.action]
|
[params.action]
|
||||||
headline = "Tell Your Representatives!"
|
headline = "Tell Your Representatives!"
|
||||||
subheadline = "We demand: **„Implement legislation requiring that, as a default setting, publicly financed software must be made publicly available under a [Free Software](https://fsfe.org/freesoftware/basics/summary.html 'Free Software gives everybody the rights to use, study, share and improve software. These rights help support other fundamental freedoms like freedom of speech, press and privacy.') licence.“**"
|
subheadline = "We demand: **„Implement legislation requiring that, as a default setting, publicly financed software must be made publicly available under a [Free Software](https://fsfe.org/freesoftware/basics/summary.html 'Free Software gives everybody the rights to use, study, share and improve software. These rights help support other fundamental freedoms like freedom of speech, press and privacy.') licence.“**"
|
||||||
description = "More than XY organisations support this call for action by signing our [Open Letter](/openletter). Help us to make an impact by signing it, too! We will hand over all signatures to representatives all over Europe that are debating software freedom in public administration."
|
description = "**$ORGS organisations** and **$INDS individuals** support this call for action by signing our [Open Letter](/openletter). Help us to make an impact by signing it, too! We will hand over all signatures to representatives all over Europe that are debating software freedom in public administration."
|
||||||
formName = "Name (required)"
|
formName = "Name (required)"
|
||||||
formEmail = "Email (required)"
|
formEmail = "Email (required)"
|
||||||
formCountry = "Your Country"
|
formCountry = "Your Country"
|
||||||
|
|
|
@ -12,7 +12,7 @@ Publicly funded software has to be [Free Software][fs]. While there are plenty o
|
||||||
|
|
||||||
{{< fsdefinition type="box">}}
|
{{< fsdefinition type="box">}}
|
||||||
|
|
||||||
That's where you can help! Sign the open letter to give our message more weight. We will hand over the letter and signatures to your representatives and make sure that they understand: Public Money? Public Code!
|
That's where you can help! Sign the open letter to give our message more weight, like **{{< count type="signatures" >}} people** and **{{< count type="organisations" >}} organisations** before you did. We will hand over the letter and signatures to your representatives and make sure that they understand: Public Money? Public Code!
|
||||||
|
|
||||||
> ## Public Money? Public Code!
|
> ## Public Money? Public Code!
|
||||||
>
|
>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<h2 class="section-heading">{{ .Site.Params.action.headline }}</h2>
|
<h2 class="section-heading">{{ .Site.Params.action.headline }}</h2>
|
||||||
<hr class="light">
|
<hr class="light">
|
||||||
<p>{{ .Site.Params.action.subheadline | markdownify }}</p>
|
<p>{{ .Site.Params.action.subheadline | markdownify }}</p>
|
||||||
<p>{{ .Site.Params.action.description | markdownify }}</p>
|
<p>{{ (replace (replace .Site.Params.action.description "$ORGS" (partial "functions/count_organisations.html" .) ) "$INDS" (partial "functions/count_signatures.html" .)) | markdownify }}</p>
|
||||||
|
|
||||||
<form action="/sign" method="post">
|
<form action="/sign" method="post">
|
||||||
<label class="sign-input form-na">
|
<label class="sign-input form-na">
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
{{ $json := getJSON "data/signees/signees.json" }}
|
||||||
|
{{- len $json -}}
|
|
@ -0,0 +1,2 @@
|
||||||
|
{{ $json := getJSON "data/signatures/data/signatures_clean.json" }}
|
||||||
|
{{- len $json -}}
|
|
@ -0,0 +1,5 @@
|
||||||
|
{{ if eq (.Get "type") "organisations" }}
|
||||||
|
{{ partial "functions/count_organisations.html" . }}
|
||||||
|
{{ else if eq (.Get "type") "signatures" }}
|
||||||
|
{{ partial "functions/count_signatures.html" . }}
|
||||||
|
{{ end }}
|
Loading…
Reference in New Issue