Skip to content

Commit

Permalink
Merge pull request #34 from NovaGaia:feat/15-multi-refs
Browse files Browse the repository at this point in the history
Add .nvmrc file with version v20.10.0 and display tiers in FichesMetasDisplay.astro
  • Loading branch information
hrenaud authored Feb 17, 2024
2 parents a204b36 + ba3e087 commit eb4b650
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20.10.0
10 changes: 10 additions & 0 deletions src/components/fiches/FichesMetasDisplay.astro
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,16 @@ const t = useTranslations(lang);
/>
) : null
}
{
getRefConfig().featuresEnabled.tiers === true ? (
<MetaItem
frontmatter={frontmatter}
meta="tiers"
displayTitle
fontSize="sm"
/>
) : null
}
<MetaItem
frontmatter={frontmatter}
meta="responsible"
Expand Down
5 changes: 5 additions & 0 deletions src/i18n/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -468,5 +468,10 @@ export const ui = {
moe: "Mise en oeuvre",
"priority-level": "Degré de priorité",
tdb: "À définir",
// Tiers
tiers: "Tier impacté",
"user-device": "Utilisateur/Terminal",
// "network": "Réseau",
"data-center": "Data-center",
},
} as const;

0 comments on commit eb4b650

Please sign in to comment.