finalise action box and put text in string files

lektura
max.mehl 2017-09-07 20:09:33 +02:00
parent 5eea46dd69
commit 5d263ec782
7 changed files with 32 additions and 15 deletions

View File

@ -59,7 +59,10 @@
headline = "Tell Your Representatives!"
subheadline = "We demand: **„Implement legislation requiring that publicly financed software developed for public sector must be made publicly available under a [Free and Open Source 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 = "**$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."
[Languages.XY.action.box]
text = "Already **$INDS SIGNATURES** sign the Open Letter now!"
[Languages.XY.action.form]
name = "Name (required)"
email = "Email (required)"
@ -116,3 +119,6 @@
headline = "Individual Open Letter Signatures"
description = "Below you find the recent signatures of people who agreed to have their signature be public. Will you be the next?"
allSignatures = "Have a look at [all public signatures](all-signatures/)."
tableName = "Name"
tableCountry = "Country"
tableComment = "Comment"

View File

@ -59,7 +59,10 @@
headline = "Tell Your Representatives!"
subheadline = "We demand: **„Implement legislation requiring that publicly financed software developed for public sector must be made publicly available under a [Free and Open Source 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 = "**$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."
[Languages.de.action.box]
text = "Already **$INDS SIGNATURES** sign the Open Letter now!"
[Languages.de.action.form]
name = "Name (required)"
email = "Email (required)"

View File

@ -59,7 +59,10 @@
headline = "Tell Your Representatives!"
subheadline = "We demand: **„Implement legislation requiring that publicly financed software developed for public sector must be made publicly available under a [Free and Open Source 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 = "**$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."
[Languages.en.action.box]
text = "Already **$INDS SIGNATURES** sign the Open Letter now!"
[Languages.en.action.form]
name = "Name (required)"
email = "Email (required)"
@ -71,7 +74,6 @@
permPub = "I want my signature to appear in the [list of signatures](openletter/all-signatures)"
submit = "Sign Now!"
# Organisations section
[Languages.en.organisations]
headline = "Supporting Organisations"

View File

@ -47,7 +47,7 @@
{{ partial "sharecolumn.html" . }}
{{ partial "special-box.html" . }}
{{ partial "action-box.html" . }}
{{ partial "js.html" . }}
</body>

View File

@ -0,0 +1,4 @@
{{ "<!-- ACTION BOX -->" | safeHTML }}
<a href="#action" id="action-box" class="hiddenlink page-scroll wow bounceInDown" data-wow-delay="1s">
{{ replace .Site.Params.action.box.text "$INDS" (partial "functions/count_organisations.html" .) | markdownify }}
</a>

View File

@ -1,4 +0,0 @@
{{ "<!-- SPECIAL-BOX -->" | safeHTML }}
<div id="special-box">
<a href="#action" class="hiddenlink page-scroll"><span>Already X signatures sign the Open Letter now!</span></a>
</div>

View File

@ -348,16 +348,22 @@ a:not(.btn):not(.hiddenlink):hover::before, a:not(.btn):not(.hiddenlink):focus::
}
/* FLOATING SIGNATURE BOX */
#special-box {
#action-box {
position: fixed;
top: 50px;
top: 60px;
left: 0px;
background: rgba(255,255,255,0.8);
background: rgba(64,166,46,0.8);
color: #fff;
max-width: 250px;
padding: 10px;
border-radius: 0px 0px 15px 0px;
border-radius: 0px 15px 15px 0px;
border: 1px solid #2F7423;
border-left: none;
text-align: center;
font-size: 1.1em;
}
#special-box a {
@media screen and (max-width: 767px) {
#action-box {
display: none;
}
}