Commit b2d467d9 authored by Matija Obreza's avatar Matija Obreza

View HTML version of Descriptor list

parent c299d620
......@@ -851,7 +851,8 @@
"publisher": "Publisher",
"version": "Version",
"url": "URL",
"partner": "Data provider"
"partner": "Data provider",
"html": "Print version"
},
"c": {
"card": {
......
......@@ -11,7 +11,8 @@
"publisher": "Publisher",
"version": "Version",
"url": "URL",
"partner": "Data provider"
"partner": "Data provider",
"html": "Print version"
},
"c": {
"card": {
......
......@@ -289,8 +289,8 @@ class DetailInfo extends React.Component<IDetailInfoProps, any> {
{ descriptorList._permissions.manage &&
<Permissions clazz={ DescriptorList.clazz } id={ descriptorList.id }/>
}
<a target="_blank" href={ `/proxy/api/v0/descriptorlist/${descriptorList.uuid}/html` }>
<Button type="button">{ t('descriptorlists.public.common.version') }</Button>
<a target="_blank" href={ `/proxy/api/v1/descriptorlist/${descriptorList.uuid}/html` }>
<Button type="button">{ t('descriptorlists.public.common.html') }</Button>
</a>
</CardActions>
) }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment