tools: Mark recurring donations with an asterisk
authorWerner Koch <wk@gnupg.org>
Wed, 24 May 2017 09:35:09 +0000 (11:35 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 24 May 2017 09:35:09 +0000 (11:35 +0200)
tools/mkkudos.sh

index f6bdb80..63ab4b9 100755 (executable)
@@ -326,6 +326,9 @@ for file in "$htdocs/donate/"kudos-????.html "$htdocs/donate/"kudos.html \
          if ($1==year && $4==tag) {
            printf "<li>%s</li>\n", $3
          }
+         else if ($1==year && $4=="S") {
+           printf "<li>%s*</li>\n", $3
+         }
        }
        close (donors)
      }
@@ -340,6 +343,9 @@ for file in "$htdocs/donate/"kudos-????.html "$htdocs/donate/"kudos.html \
          if ($4==tag) {
            data[i++] = $3
          }
+         else if ($4=="S") {
+           data[i++] = $3 "*"
+         }
        }
        close (donors)
        j = i > 16 ? ( i - 16 ) : 0