[git] gnupg-doc - branch, master, updated. 976ab96d7c6bf91a88b5f5f89abb7f3db1e225ff

by Werner Koch cvs at cvs.gnupg.org
Fri Jun 16 15:04:49 CEST 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GnuPG website and other docs".

The branch, master has been updated
       via  976ab96d7c6bf91a88b5f5f89abb7f3db1e225ff (commit)
      from  ebe4f61582ab1e1c8cb5b5c2f5649cc2687c063c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 976ab96d7c6bf91a88b5f5f89abb7f3db1e225ff
Author: Werner Koch <wk at gnupg.org>
Date:   Fri Jun 16 15:00:21 2017 +0200

    campaign: Add counter for the FLM match.

diff --git a/tools/mkkudos.sh b/tools/mkkudos.sh
index b358643..3db6743 100755
--- a/tools/mkkudos.sh
+++ b/tools/mkkudos.sh
@@ -311,6 +311,16 @@ for file in "$htdocs/donate/"kudos-????.html "$htdocs/donate/"kudos.html \
                   substr($0,1,n), format_number(recur_nyr);
            next
      }
+     /<!--CMPGN-FLM-USD-->/ {
+           n = index($0,"<!--CMPGN");
+           xflm = int((12 * ( int(recur_euroyr) - 2400 )) * 1.1166 );
+           if (xflm > 25000) {
+               xflm = 25000;
+           }
+           printf "%s!--CMPGN-FLM-USD-->%s\n",
+                  substr($0,1,n), format_number( xflm );
+           next
+     }
      !indon { print }
 
      function format_number (n) {
diff --git a/web/donate/index.de.org b/web/donate/index.de.org
index f3cf109..1e2c61a 100644
--- a/web/donate/index.de.org
+++ b/web/donate/index.de.org
@@ -179,8 +179,8 @@ href="/cgi-bin/procdonate.cgi?mode=preset&lang=de"
               Intercept</a> und Laura
               Poitras <a href="https://fieldofvision.org/">Field of
               Vision</a>, <b>innerhalb der ersten 12 Monate den
-              gleichen Betrag noch einmal spenden</b> (bis zu
-              25&#x202f;000 USD)!
+              gleichen Betrag noch einmal spenden</b> (<!--CMPGN-FLM-USD-->
+              von 25&#x202f;000 USD erreicht)!
           </p>
         </div>
       </div>
diff --git a/web/donate/index.org b/web/donate/index.org
index 604db2d..d333a04 100644
--- a/web/donate/index.org
+++ b/web/donate/index.org
@@ -175,7 +175,8 @@
             of <a href="https://theintercept.com/">The Intercept</a> and
             Laura Poitras' <a href="https://fieldofvision.org/">Field of
               Vision</a>, <b>will match the first 12 months</b> of your
-              gift (up to 25&#x202f;000 USD)!
+              gift (<!--CMPGN-FLM-USD-->
+              of 25&#x202f;000 USD secured)!
           </p>
         </div>
       </div>

-----------------------------------------------------------------------

Summary of changes:
 tools/mkkudos.sh        | 10 ++++++++++
 web/donate/index.de.org |  4 ++--
 web/donate/index.org    |  3 ++-
 3 files changed, 14 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
The GnuPG website and other docs
http://git.gnupg.org




More information about the Gnupg-commits mailing list