Revize 191f2cc7
Přidáno uživatelem Fantič před téměř 2 roky(ů)
src/components/item/ItemView.tsx | ||
---|---|---|
61 | 61 |
<Card shadow="1" marginTop="5%" marginBottom="5%"> |
62 | 62 |
{item.authorName && |
63 | 63 |
<HStack> |
64 |
<Text italic> |
|
64 |
<Text italic marginTop="2.5%">
|
|
65 | 65 |
<Text color="light.500">Author name: </Text> |
66 | 66 |
{item.authorName} |
67 | 67 |
</Text> |
68 | 68 |
</HStack>} |
69 | 69 |
{item.title && |
70 | 70 |
<HStack> |
71 |
<Text italic> |
|
71 |
<Text italic marginTop="2.5%">
|
|
72 | 72 |
<Text color="light.500">Title: </Text> |
73 | 73 |
{item.title} |
74 | 74 |
</Text> |
75 | 75 |
</HStack>} |
76 | 76 |
{item.institution && |
77 | 77 |
<HStack> |
78 |
<Text italic> |
|
78 |
<Text italic marginTop="2.5%">
|
|
79 | 79 |
<Text color="light.500">Institution: </Text> |
80 | 80 |
{item.institution.name}, Inv. No. {item.institution.inventoryNumber}, {item.institution.city} {"(" + item.institution.country + ")"} |
81 | 81 |
</Text> |
82 | 82 |
</HStack>} |
83 | 83 |
{item.repository && |
84 | 84 |
<HStack> |
85 |
<Text italic> |
|
85 |
<Text italic marginTop="2.5%">
|
|
86 | 86 |
<Text color="light.500">Repository: </Text> |
87 | 87 |
{item.repository} |
88 | 88 |
</Text> |
89 | 89 |
</HStack>} |
90 | 90 |
{item.provenance && |
91 | 91 |
<HStack> |
92 |
<Text italic> |
|
92 |
<Text italic marginTop="2.5%">
|
|
93 | 93 |
<Text color="light.500">Provenance: </Text> |
94 | 94 |
{item.provenance} |
95 | 95 |
</Text> |
96 | 96 |
</HStack>} |
97 | 97 |
{item.description && |
98 | 98 |
<HStack> |
99 |
<Text italic> |
|
99 |
<Text italic marginTop ="2.5%">
|
|
100 | 100 |
<Text color="light.500">Description: </Text> |
101 | 101 |
{item.description} |
102 | 102 |
</Text> |
Také k dispozici: Unified diff
re #10454: ItemView: ItemTabBar update