Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Culture
culture-views
Commits
4fb1b0071f1c
Commit
20969df7
authored
Oct 05, 2020
by
Élodie Thiéblin
Browse files
[localisation] Add key on URIBadge
parent
1a0a48a8da9a
Pipeline
#16580
passed with stages
in 3 minutes and 10 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/localisation/localisation.tsx
View file @
4fb1b007
...
...
@@ -67,7 +67,7 @@ export const BienCulturelInfo: React.FC<BienCulturelInfoProps> = (props) => {
<
h1
>
{
uri
!==
undefined
?
<
a
href
=
{
generateUrl
(
uri
)
}
>
{
label
}
</
a
>
:
label
}
</
h1
>
<
h5
>
{
typeUris
.
map
((
uri
)
=>
(
<
URIBadge
uri
=
{
uri
}
dataFetcher
=
{
dataFetcher
}
generateUrl
=
{
generateUrl
}
/>
<
URIBadge
key
=
{
uri
}
uri
=
{
uri
}
dataFetcher
=
{
dataFetcher
}
generateUrl
=
{
generateUrl
}
/>
))
}
</
h5
>
{
graph
&&
<
span
>
Source :
{
graph
}
</
span
>
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment