From 160046109798ee2b93fb56234080fa97f3e4eb73 Mon Sep 17 00:00:00 2001 From: poka Date: Sun, 8 Nov 2020 12:10:52 +0100 Subject: [PATCH] Add link to FORBES page --- explorer.sh | 2 +- g1-stats.sh | 2 +- tpl/index.html | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/explorer.sh b/explorer.sh index d619849..5ad8998 100755 --- a/explorer.sh +++ b/explorer.sh @@ -122,7 +122,7 @@ anniversary() { local jqNewUD="reduce .[] as \$x (null; if . == null then [\$x] elif .[-1].UD == \$x.UD then . - else . + [\$x] end) | .[] |= + else . + [\$x] end) | .[] |= {date: .date, UD: .UD, nbrMembers: .nbrMembers}" jq "$jqNewUD" <<<$jsonData diff --git a/g1-stats.sh b/g1-stats.sh index 7e83cfc..1293033 100755 --- a/g1-stats.sh +++ b/g1-stats.sh @@ -11,7 +11,7 @@ # Exit script if error set -e -# Récupération du chemin absolut du répertoir du script actuel +# Récupération du chemin absolu du répertoir du script actuel GPATH="$( cd "$(dirname "$0")" ; pwd -P )" [[ ! -f $GPATH/.env ]] && cp $GPATH/.env.example $GPATH/.env source $GPATH/.env diff --git a/tpl/index.html b/tpl/index.html index 3990656..3539f49 100644 --- a/tpl/index.html +++ b/tpl/index.html @@ -16,7 +16,8 @@ | Voir le fichier JSON | Liste de tous les wallets | Liste des wallets membres - | Liste des simples portefeuilles | + | Liste des simples portefeuilles + | Classement FORBES |