Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
quiver-frontend-local
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
subugoe
OCR-D
quiver-frontend-local
Commits
51cd86df
Commit
51cd86df
authored
2 years ago
by
Paul Pestov
Browse files
Options
Downloads
Patches
Plain Diff
Fix metadata display in workflows list according to latest API changes
parent
123174b7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/workflows/WorkflowsList.vue
+4
-7
4 additions, 7 deletions
src/components/workflows/WorkflowsList.vue
with
4 additions
and
7 deletions
src/components/workflows/WorkflowsList.vue
+
4
−
7
View file @
51cd86df
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<Tag
:value=
"item.metadata.workflow_model"
class=
"bg-gray-300 text-gray-700 ml-3"
></Tag>
<Tag
:value=
"item.metadata.workflow_model"
class=
"bg-gray-300 text-gray-700 ml-3"
></Tag>
<template
v-if=
"item.metadata.document_metadata"
>
<template
v-if=
"item.metadata.document_metadata"
>
<Tag
<Tag
v-for=
"font in item.metadata.document_metadata.fonts"
v-for=
"font in item.metadata.document_metadata.
data_properties.
fonts"
:key=
"font"
:key=
"font"
:value=
"font"
:value=
"font"
class=
"bg-gray-300 text-gray-700"
>
class=
"bg-gray-300 text-gray-700"
>
...
@@ -36,18 +36,15 @@
...
@@ -36,18 +36,15 @@
<div
class=
"grid"
>
<div
class=
"grid"
>
<div
class=
"col"
>
<div
class=
"col"
>
<p
class=
"font-bold"
>
{{
$t
(
'
number_of_pages
'
)
}}
:
</p>
<p
class=
"font-bold"
>
{{
$t
(
'
number_of_pages
'
)
}}
:
</p>
<p>
{{
item
.
metadata
.
document_metadata
.
number_of_pages
}}
</p>
<p>
{{
item
.
metadata
.
document_metadata
.
data_properties
.
number_of_pages
}}
</p>
<p
class=
"mt-2 font-bold"
>
{{
$t
(
'
publication_year
'
)
}}
:
</p>
<p
class=
"mt-2 font-bold"
>
{{
$t
(
'
publication_year
'
)
}}
:
</p>
<p>
{{
item
.
metadata
.
document_metadata
.
publication_year
}}
</p>
<p>
{{
item
.
metadata
.
document_metadata
.
data_properties
.
publication_year
}}
</p>
</div>
</div>
<div
class=
"col"
>
<div
class=
"col"
>
<p
class=
"font-bold"
>
{{
$t
(
'
layout
'
)
}}
:
</p>
<p
class=
"font-bold"
>
{{
$t
(
'
layout
'
)
}}
:
</p>
<p>
{{
item
.
metadata
.
document_metadata
.
layout
}}
</p>
<p>
{{
item
.
metadata
.
document_metadata
.
data_properties
.
layout
}}
</p>
<p
class=
"mt-2 font-bold"
>
{{
$t
(
'
publication_century
'
)
}}
:
</p>
<p>
{{
item
.
metadata
.
document_metadata
.
publication_century
}}
</p>
</div>
</div>
</div>
</div>
</AccordionTab>
</AccordionTab>
</Accordion>
</Accordion>
</
template
>
</
template
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment