adiwg-mdtranslator 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1813b83d6f06fc269f456df155da5a49c0112c29
|
4
|
+
data.tar.gz: 906191f4ca3c3e77999c0e8c6862adeab1869eb3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9fbf80823eb3c40554a4f558134efe194bec90c6e4a6ed4d73a78752aec1e721cf79027fd412942db399c1d80583790cccb85ab83ae2334db774270c41df79d
|
7
|
+
data.tar.gz: 144975542009eaa78cc12520a30a81a7a189871b3de16630aa07c46820aad5474695bf067f85312355a8d667c07c0c11ee6312129163dbdc2bdf01f7448389eb
|
@@ -39,6 +39,7 @@ module ADIWG
|
|
39
39
|
|
40
40
|
# make sections of the internal data store more accessible
|
41
41
|
hMetadata = intObj[:metadata]
|
42
|
+
hMetaInfo = hMetadata[:metadataInfo]
|
42
43
|
aDataDict = intObj[:dataDictionary]
|
43
44
|
aDistributor = intObj[:metadata][:distributorInfo]
|
44
45
|
aAssRes = intObj[:metadata][:associatedResources]
|
@@ -127,11 +128,14 @@ module ADIWG
|
|
127
128
|
|
128
129
|
# metadata information section
|
129
130
|
@html.h2('Metadata Information', 'id'=>'metadataInfo')
|
130
|
-
|
131
|
-
|
131
|
+
if !hMetaInfo.empty?
|
132
|
+
@html.section(:class=>'block') do
|
133
|
+
htmlMetaInfo.writeHtml(hMetaInfo)
|
134
|
+
end
|
132
135
|
end
|
133
136
|
@html.hr
|
134
137
|
|
138
|
+
|
135
139
|
# resource information section
|
136
140
|
@html.h2('Resource Information', 'id'=>'resourceInfo')
|
137
141
|
@html.section(:class=>'block') do
|
@@ -28,16 +28,22 @@ module ADIWG
|
|
28
28
|
htmlResMaint = $HtmlNS::MdHtmlResourceMaintenance.new(@html)
|
29
29
|
|
30
30
|
# metadata identifier
|
31
|
-
|
32
|
-
|
33
|
-
@html.
|
34
|
-
@html.
|
35
|
-
@html.
|
36
|
-
|
31
|
+
id = hMetaInfo[:metadataId][:identifier]
|
32
|
+
if id
|
33
|
+
@html.details do
|
34
|
+
@html.summary('Metadata Identifier', {'id'=>'metadata-identifier', 'class'=>'h3'})
|
35
|
+
@html.section(:class=>'block') do
|
36
|
+
@html.em('Identifier:')
|
37
|
+
@html.text!(id)
|
38
|
+
@html.br
|
37
39
|
|
38
|
-
|
39
|
-
|
40
|
-
|
40
|
+
type = hMetaInfo[:metadataId][:identifierType]
|
41
|
+
if type
|
42
|
+
@html.em('Identifier type:')
|
43
|
+
@html.text!(type)
|
44
|
+
@html.br
|
45
|
+
end
|
46
|
+
end
|
41
47
|
end
|
42
48
|
end
|
43
49
|
|