Skip to content

Commit

Permalink
Add support for displaying tiers in FichesMetasDisplay.astro and upda…
Browse files Browse the repository at this point in the history
…te UI translations
  • Loading branch information
hrenaud committed Feb 17, 2024
1 parent f6749f3 commit 7909885
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
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 7909885

Please sign in to comment.