Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ajustement pour le bug du history. #63

Merged
merged 2 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions pages/versions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,36 @@ import Version from "@/src/versions/Version";
export async function getServerSideProps() {
let versionsList = [];
versionsList.push(
{
"label": "Ajout du tracking avec Matomo et amélioration dans l'interface",
"value": "1.0.1",
"date": "2024-08-20",
"description": "Ajout du suivi anonyme pour Matomo et la gestion de consentement relié à la bannière de cookie. Avec des ajouts de liaison de données pour les créateurs d'événements et partenaire de projet.",
"notes": [
{
"value": "Matomo est maintenant actif pour les utilisateurs qui acceptent de partager leur utilisation dans la plateforme."
},
{
"value": "Ajustement du visuel de la page des paramètres de cookies pour aider à la lecture. Surtout pour un utilisateur qui veut se connecter, mais qui n'a pas accepté les cookies de connexion."
},
{
"value": "Ajout des partenaires de projets et des créateurs d'événements dans la fiche organisations."
},
{
"value": "<strong>Équipe</strong>",
"additionnalClasses": "pt-3 pb-2"
},
{
"value": "<strong>Frédéric Rivard</strong>, Backend et front-end"
},
{
"value": "<strong>Marc-André Martin</strong>, Backend, front-end et responsable du développement"
},
{
"value": "<strong>Jeanne Perrin</strong> web design et UX"
}
]
},
{
"label": "Badge du CB et informations de contact",
"value": "1.0.0",
Expand Down
3 changes: 1 addition & 2 deletions src/DataTypes/Meta/components/SingleEntityMeta.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import SingleInfo from "@/DataTypes/common/layouts/SingleInfo/SingleInfo";
import {lang} from "@/common/Data/GlobalConstants";
import DateWidget from "@/common/widgets/DateWidget/DateWidget";
import React from "react";
Expand Down Expand Up @@ -33,7 +32,7 @@ export const SingleEntityMeta = (props) => {
</li>*/
}
{
(meta?.requestedBy?.username || createdAt) &&
(meta?.requestedBy?.name || createdAt) &&
<li>
<span>{lang.created}</span>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ const OrganisationSingleView = ({ data }) => {
}
</>
)

console.log("ORG footer, metas", meta);
const Footer = (
<>
{
Expand All @@ -279,7 +279,6 @@ const OrganisationSingleView = ({ data }) => {
title={lang.entityMetadata}
className="border-top pt-3"
>
{/*********** Entity data ***********/}
<SingleEntityMeta createdAt={createdAt} updatedAt={updatedAt} meta={meta} />
</SingleInfo>
}
Expand Down
Loading