From 02482934292e6073ee4738a699b470b7ccc77849 Mon Sep 17 00:00:00 2001
From: paidge <paidge_cs@hotmail.com>
Date: Mon, 31 Jan 2022 04:02:28 +0100
Subject: [PATCH] v0.11 tag

---
 components/member/List.vue             |  1 +
 components/navigation/Bar.vue          |  2 +-
 components/navigation/menu/Sidebar.vue |  3 +-
 graphql/queries.js                     |  4 ++
 i18n/locales/de.json                   |  2 +-
 i18n/locales/en.json                   |  2 +-
 i18n/locales/es.json                   |  2 +-
 i18n/locales/fr.json                   |  4 +-
 pages/a-propos.vue                     | 54 +++++++++++++++++++-------
 9 files changed, 53 insertions(+), 21 deletions(-)

diff --git a/components/member/List.vue b/components/member/List.vue
index 033c7dc..c2f3e91 100644
--- a/components/member/List.vue
+++ b/components/member/List.vue
@@ -54,6 +54,7 @@
 						<BadgeDispo
 							:isDispo="member.minDatePassed"
 							:dateDispo="member.minDate"
+							:certifs="member.sent_certifications"
 							v-if="member.status == 'MEMBER'" />
 					</th>
 					<td
diff --git a/components/navigation/Bar.vue b/components/navigation/Bar.vue
index 6f7f05e..0eeadb4 100644
--- a/components/navigation/Bar.vue
+++ b/components/navigation/Bar.vue
@@ -142,7 +142,7 @@ nav.breadcrumb-wrapper {
 	width: var(--menu-size);
 	top: 0;
 	z-index: 1200;
-	height: 100vh;
+	height: 100%;
 	padding: 1.1rem 0.5rem;
 	overflow-y: scroll;
 	scrollbar-color: #6969dd #e0e0e0;
diff --git a/components/navigation/menu/Sidebar.vue b/components/navigation/menu/Sidebar.vue
index a589bd8..d8ab717 100644
--- a/components/navigation/menu/Sidebar.vue
+++ b/components/navigation/menu/Sidebar.vue
@@ -5,13 +5,12 @@
 				<img :src="$icon(512)" alt="Accueil" class="logo" />
 				<div>
 					<h1 class="h3">
-						Wotwizard <small><span class="small">v0.10</span></small>
+						Wotwizard <small><span class="small">v0.11</span></small>
 					</h1>
 					<small class="text-muted">{{ $t("slogan") }}</small>
 				</div>
 			</nuxt-link>
 			<div class="text-info small mt-2">API graphQL v{{ version }}</div>
-
 			<div class="text-info">
 				<div class="small" v-if="countMax">
 					{{ $t("bloc.title") }} n°<span class="font-weight-bold">{{
diff --git a/graphql/queries.js b/graphql/queries.js
index 4de0b1d..ac7d22d 100644
--- a/graphql/queries.js
+++ b/graphql/queries.js
@@ -44,6 +44,10 @@ export const LAST_EVENTS = gql`
 						__typename
 						limit
 					}
+					sent_certifications {
+						__typename
+						pending
+					}
 				}
 				inOut
 			}
diff --git a/i18n/locales/de.json b/i18n/locales/de.json
index 2f8ab63..711a407 100644
--- a/i18n/locales/de.json
+++ b/i18n/locales/de.json
@@ -6,7 +6,7 @@
 	},
 	"apropos": {
 		"bienvenue": "Willkommen im Wotwizard!",
-		"contribuer": "Der Quellcode von Wotwizard befindet sich auf <a href=\"https://git.duniter.org/clients/wotwizard-ui\" target=\"_blank\">unserem Gitlab-Server</a>. Zögern Sie nicht, dort Fehler oder Verbesserungsvorschläge auf der <a href=\"https://git.duniter.org/clients/wotwizard-ui/-/issues\" target=\"_blank\"><b>Issues</b>-Seite</a> zu melden.",
+		"contribuer": "Der Quellcode von Wotwizard befindet sich auf <a href=\"https://git.duniter.org/clients/wotwizard-ui\" target=\"_blank\">unserem Gitlab-Server</a>. Zögern Sie nicht, dort Fehler oder Verbesserungsvorschläge auf der <a href=\"https://git.duniter.org/clients/wotwizard-ui/-/issues\" target=\"_blank\"><b>Issues</b>-Seite</a> zu melden. The API graphql source code can be found at <a href=\"https://git.duniter.org/gerard94/WotWizard\" target=\"_blank\">this URL</a>.",
 		"deploiement": "Deployment:",
 		"desc": "Dieses Tool ermöglicht es Ihnen, die Bei- und Austritte des Vertrauensnetzes der freien Währung Ğ1 zu verfolgen und ist das Ergebnis einer Zusammenarbeit zwischen verschiedenen Entwicklende und Nutzende der Währung. Zögern Sie nicht, sich bei ihnen mit einer Spende auf den folgenden öffentlichen Schlüssel zu bedanken:",
 		"developpeurs": "Entwicklung:",
diff --git a/i18n/locales/en.json b/i18n/locales/en.json
index 5894bd6..d1e6a03 100644
--- a/i18n/locales/en.json
+++ b/i18n/locales/en.json
@@ -6,7 +6,7 @@
 	},
 	"apropos": {
 		"bienvenue": "Welcome to Wotwizard !",
-		"contribuer": "The source code of the application is on <a href=\"https://git.duniter.org/clients/wotwizard-ui\" target=\"_blank\">our Gitlab server</a>. Don't hesitate to report bugs or suggestions for improvement in <a href=\"https://git.duniter.org/clients/wotwizard-ui/-/issues\" target=\"_blank\">the <b>Tickets</b> section</a>.",
+		"contribuer": "The source code of the application is on <a href=\"https://git.duniter.org/clients/wotwizard-ui\" target=\"_blank\">our Gitlab server</a>. Don't hesitate to report bugs or suggestions for improvement in <a href=\"https://git.duniter.org/clients/wotwizard-ui/-/issues\" target=\"_blank\">the <b>Tickets</b> section</a>. The API graphql source code can be found at <a href=\"https://git.duniter.org/gerard94/WotWizard\" target=\"_blank\">this URL</a>.",
 		"deploiement": "Deployment :",
 		"desc": "This tool allows you to track entries and exits from the Äž1 free currency web of trust and is the result of a collaboration between various developers and users of the currency. Do not hesitate to thank them by making a donation on the following public key:",
 		"developpeurs": "Developers :",
diff --git a/i18n/locales/es.json b/i18n/locales/es.json
index ad35800..48ec2cf 100644
--- a/i18n/locales/es.json
+++ b/i18n/locales/es.json
@@ -6,7 +6,7 @@
 	},
 	"apropos": {
 		"bienvenue": "¡Bienvenido a Wotwizard!",
-		"contribuer": "El código fuente de la aplicación está en <a href=\"https://git.duniter.org/clients/wotwizard-ui\" target=\"_blank\">nuestro servidor Gitlab</a>. No dudes en reportar errores o sugerencias de mejora en <a href=\"https://git.duniter.org/clients/wotwizard-ui/-/issues\" target=\"_blank\">la sección de <b>Tickets</b></a>.",
+		"contribuer": "El código fuente de la aplicación está en <a href=\"https://git.duniter.org/clients/wotwizard-ui\" target=\"_blank\">nuestro servidor Gitlab</a>. No dudes en reportar errores o sugerencias de mejora en <a href=\"https://git.duniter.org/clients/wotwizard-ui/-/issues\" target=\"_blank\">la sección de <b>Tickets</b></a>. The API graphql source code can be found at <a href=\"https://git.duniter.org/gerard94/WotWizard\" target=\"_blank\">this URL</a>.",
 		"deploiement": "Despliegue :",
 		"desc": "Esta herramienta le permite realizar un seguimiento de las entradas y salidas de la red de confianza de moneda libre Ğ1 y es el resultado de una colaboración entre varios desarrolladores y usuarios de la moneda. No dude en agradecerles haciendo una donación en la siguiente clave pública:",
 		"developpeurs": "Desarrolladores :",
diff --git a/i18n/locales/fr.json b/i18n/locales/fr.json
index c0b17a0..8ab132d 100644
--- a/i18n/locales/fr.json
+++ b/i18n/locales/fr.json
@@ -6,7 +6,7 @@
 	},
 	"apropos": {
 		"bienvenue": "Bienvenue dans Wotwizard !",
-		"contribuer": "Le code source de l'application se trouve sur <a href=\"https://git.duniter.org/clients/wotwizard-ui\" target=\"_blank\">notre serveur Gitlab</a>. N'hésitez pas à y remonter les bugs ou les propositions d'amélioration dans <a href=\"https://git.duniter.org/clients/wotwizard-ui/-/issues\" target=\"_blank\">la section <b>Tickets</b></a>.",
+		"contribuer": "Le code source de l'application se trouve sur <a href=\"https://git.duniter.org/clients/wotwizard-ui\" target=\"_blank\">notre serveur Gitlab</a>. N'hésitez pas à y remonter les bugs ou les propositions d'amélioration dans <a href=\"https://git.duniter.org/clients/wotwizard-ui/-/issues\" target=\"_blank\">la section <b>Tickets</b></a>. Le code source de l'API graphQL se trouve à <a href=\"https://git.duniter.org/gerard94/WotWizard\" target=\"_blank\">cette adresse</a>.",
 		"deploiement": "Déploiement :",
 		"desc": "Cet outil vous permet de suivre les entrées et les sorties de la toile de confiance de la monnaie libre Ğ1 et est le fruit d'une collaboration entre différents développeurs et utilisateurs de la monnaie. N'hésitez pas à les remercier en faisant un don sur la clé publique suivante:",
 		"developpeurs": "Développeurs :",
@@ -155,7 +155,7 @@
 		"title": "Paramètres de la blockchain"
 	},
 	"piscine": {
-		"desc": "Ensemble de données stockées par les nœuds et en attente de validation du dossier avant écriture dans un bloc. Si les données restent incomplètes ou sont invalides, elles finissent par être oubliées",
+		"desc": "Ensemble de données stockées par les noeuds et en attente de validation du dossier avant écriture dans un bloc. Si les données restent incomplètes ou sont invalides, elles finissent par être oubliées",
 		"title": "Piscine"
 	},
 	"pow": {
diff --git a/pages/a-propos.vue b/pages/a-propos.vue
index 9877bce..7d104f0 100644
--- a/pages/a-propos.vue
+++ b/pages/a-propos.vue
@@ -14,8 +14,10 @@
 					class="col-sm-6 col-md-4 col-lg-3"
 					v-for="cat in liste_contrib"
 					:key="cat.title">
-					<h4 class="h5">{{ $t("apropos." + cat.title) }}</h4>
-					<div class="list-group mb-4">
+					<h4 class="h5" v-if="cat.title != 'testeurs'">
+						{{ $t("apropos." + cat.title) }}
+					</h4>
+					<div class="list-group mb-4" v-if="cat.title != 'testeurs'">
 						<NuxtLink
 							v-for="contrib in cat.contrib"
 							:key="contrib"
@@ -26,6 +28,19 @@
 					</div>
 				</div>
 			</div>
+			<div class="row testeurs mb-4">
+				<div class="col-12">
+					<h4 class="h5">
+						{{ $t("apropos." + liste_contrib[4].title) }}
+					</h4>
+				</div>
+				<div
+					class="col list-group-item d-flex align-items-center"
+					v-for="testeur in liste_contrib[4].contrib"
+					:key="testeur">
+					{{ testeur }}
+				</div>
+			</div>
 			<p v-html="$t('apropos.contribuer')"></p>
 		</div>
 	</main>
@@ -52,7 +67,15 @@ export default {
 				},
 				{
 					title: "traducteurs",
-					contrib: ["paidge", "kapis"]
+					contrib: ["paidge", "kapis", "Trayeur"]
+				},
+				{
+					title: "graphql",
+					contrib: ["gerard94", "HugoTrentesaux", "cgeek"]
+				},
+				{
+					title: "deploiement",
+					contrib: ["poka", "ManUtopiK"]
 				},
 				{
 					title: "testeurs",
@@ -61,16 +84,10 @@ export default {
 						"hypericum",
 						"Tchois",
 						"Jean-Pierre13",
-						"GULLANDES"
+						"GULLANDES",
+						"Spiranne13",
+						"philmarg1"
 					]
-				},
-				{
-					title: "graphql",
-					contrib: ["gerard94", "HugoTrentesaux", "cgeek"]
-				},
-				{
-					title: "deploiement",
-					contrib: ["poka", "ManUtopiK"]
 				}
 			],
 			hash_contrib: {
@@ -96,7 +113,10 @@ export default {
 					"6144430D00732BCCA98891D95D7577E99ED7896A4EEC1B5223616B2C44FECF4E",
 				cgeek:
 					"E35D142DBC3B967FED049B6CCF48782440AC2F5230352D194BFB0DA62A80259C",
-				poka: "D01102D1D649EE65A027BC47FD1FB5BB6FECE7B6230414DB66EC490B51DBED7A"
+				poka: "D01102D1D649EE65A027BC47FD1FB5BB6FECE7B6230414DB66EC490B51DBED7A",
+				Trayeur: "",
+				Spiranne13: "",
+				philmarg1: ""
 			}
 		}
 	},
@@ -121,3 +141,11 @@ export default {
 	}
 }
 </script>
+
+<style lang="scss" scoped>
+.testeurs {
+	.list-group-item + .list-group-item {
+		border-top-width: thin;
+	}
+}
+</style>
-- 
GitLab