Project

General

Profile

1
<section>
2

    
3

    
4
    <div>
5
        <div class="row">
6
            <div class="col-lg-11 col-lg-offset-1" style="font-size: large">
7
                <i ng-show="item.objectType=='dataset'" style="padding: 10px"
8
                   class="fa fa-database fa-2x  responsive-img"></i>
9
                <i ng-show="item.objectType=='publication'" style="padding: 10px"
10
                   class="fa fa-book fa-2x circle responsive-img"></i>
11
                <i ng-hide="item.objectType=='publication' || item.objectType=='dataset'"
12
                   class="fa fa-question-circle fa-2x blue-text circle responsive-img"></i>
13
                <b><a href="{{ item.resolved_url }}" style="margin: 10px">
14
                    <d> {{ item.title }}</d>
15
                    <d ng-hide="item.title">metadata not available - Pid not resolved</d>
16

    
17
                </a></b></div>
18
        </div>
19
    </div>
20

    
21

    
22
    <div class="row">
23
        <div class="col-lg-11 col-lg-offset-1">
24
            <table style="width: 100%">
25
                <tr>
26
                    <td style="width: 20%"><b>Typology:</b></td>
27
                    <td> {{ item.objectType }}</td>
28
                </tr>
29
                <tr>
30
                    <td><b>Identifier:</b></td>
31
                    <td> {{ item.pid }}</td>
32
                </tr>
33
                <tr>
34
                    <td><b>Identifier type:</b></td>
35
                    <td> {{ item.pid_type }}</td>
36
                </tr>
37
                <tr>
38
                    <td class="valign-wrapper"><b>Author(s):</b></td>
39
                    <td class="green-text">
40
                        <f ng-repeat="a in item.authors track by $index">{{ a }},</f>
41
                    </td>
42
                </tr>
43
                <tr>
44
                    <td><b>Date:</b></td>
45
                    <td class="valign-wrapper green-text"> {{ item.date }}</td>
46
                </tr>
47
            </table>
48

    
49
            <br>
50

    
51

    
52
            <table style="width: 100%">
53
                <tr>
54
                    <td style="width: 20%"><b>provenance (of this object):</b></td>
55
                    <td class="valign-wrapper">
56
                        <table style="width: 100%">
57
                            <thead>
58
                            <tr>
59
                                <th class="center-align" style="width: 20%">Date Of Collection</th>
60
                                <th class="center-align" style="width: 20%">Datasource</th>
61
                                <th class="center-align" style="width: 60%">Action</th>
62
                            </tr>
63
                            </thead>
64
                            <tbody>
65
                            <tr ng-repeat="d in item.provenance_record">
66
                                <td class="centered">{{ d.collectionDate }}</td>
67
                                <td class="centered">{{ d.name }}</td>
68
                                <td class="centered">
69
                                    <div ng-show="d.completionStatus==='complete' && d.provisionMode==='collected'">
70
                                        Object PID collected from {{ d.name }}
71
                                    </div>
72
                                    <div ng-show="d.completionStatus==='incomplete'">Object PID collected from
73
                                        {{ d.name }}
74
                                    </div>
75
                                    <div ng-show="d.completionStatus==='complete' && d.provisionMode==='resolved'">
76
                                        Full-metadata record collected from {{ d.name }}
77
                                    </div>
78
                                </td>
79

    
80

    
81
                            </tr>
82
                            </tbody>
83
                        </table>
84
                    </td>
85
                </tr>
86

    
87
            </table>
88
            <br>
89
        </div>
90
    </div>
91

    
92

    
93
    <div class="row">
94
        <div class="col-lg-11 col-lg-offset-1">
95
            <ul id="myTabs" class="nav nav-tabs text-center" role="tablist">
96
                <li role="presentation" ng-class="active"><a href="#dataset" id="home-tab" role="tab" data-toggle="tab"
97
                                                             aria-controls="home" aria-expanded="true"><h4>Link To
98
                    Datasets</h4></a></li>
99
                <li role="presentation" ng-class=""><a href="#publication" role="tab" id="profile-tab" data-toggle="tab"
100
                                                       aria-controls="profile" aria-expanded="false"><h4>Link To
101
                    Publications</h4></a></li>
102
                <li role="presentation" ng-class=""><a href="#other" role="tab" id="profile-tab" data-toggle="tab"
103
                                                       aria-controls="profile" aria-expanded="false"><h4>Other
104
                    Links</h4></a></li>
105
            </ul>
106
            <div id="myTabContent" class="tab-content">
107
                <div role="tabpanel" class="tab-pane fade active in" id="dataset" aria-labelledby="home-tab">
108

    
109
                    <div ng-repeat="rels in item.relations">
110
                        <div ng-show="rels.relatedEntityType=='dataset'">
111
                            <div class="row">
112

    
113
                                <div class="col-lg-12"><a href="#/detail/{{ rels.relatedDnetId }}" class="blue-text"> <i
114
                                        style="padding: 10px"
115
                                        class="fa fa-database fa-2x blue-text circle responsive-img"></i><b>{{
116
                                    rels.related_title }}</b> </a></div>
117

    
118
                                <div class="col-lg-12">
119
                                    <f style="color: green" ng-repeat="a in rels.authors  track by $index">{{ a }},</f>
120
                                </div>
121
                                <div class="col-lg-12"><b>PID</b> : {{ rels.targetPID }}</div>
122
                                <div class="col-lg-12"><b>PID Type</b> : {{ rels.targetPIDType }}</div>
123
                            </div>
124
                            <div class="row">
125
                                <div class="col-lg-2">
126
                                    <b>provenance (of this link): </b>
127
                                </div>
128
                                <div class="col-lg-8">
129
                                    <table style="width: 100%">
130
                                        <thead>
131
                                        <tr>
132
                                            <th class="center-align" style="width: 20%">Date Of Collection</th>
133
                                            <th class="center-align" style="width: 20%">Datasource</th>
134
                                            <th class="center-align" style="width: 60%">Action</th>
135
                                        </tr>
136
                                        </thead>
137
                                        <tbody>
138
                                        <tr ng-repeat="d in rels.relation_provenance">
139
                                            <td class="left-align">{{ d.collectionDate }}</td>
140
                                            <td class="left-align">{{ d.name }}</td>
141
                                            <td class="left-align">
142
                                                <div ng-show="d.provisionMode==='system_deducted'"> Typology of target
143
                                                    object derived by the system
144
                                                </div>
145
                                                <div ng-hide="d.provisionMode==='system_deducted'">Relation collected
146
                                                    from {{ d.name }}
147
                                                </div>
148

    
149
                                            </td>
150

    
151

    
152
                                        </tr>
153
                                        </tbody>
154
                                    </table>
155

    
156
                                </div>
157

    
158

    
159
                            </div>
160
                        </div>
161
                    </div>
162
                </div>
163
                <div role="tabpanel" class="tab-pane fade" id="publication" aria-labelledby="profile-tab">
164
                    <div ng-repeat="rels in item.relations">
165
                        <div ng-show="rels.relatedEntityType=='publication'">
166
                            <div class="row">
167

    
168
                                <div class="col-lg-12"><a href="#/detail/{{ rels.relatedDnetId }}" class="blue-text"> <i
169
                                        style="padding: 10px"
170
                                        class="fa fa-book fa-2x blue-text circle responsive-img"></i><b>{{
171
                                    rels.related_title }}</b> </a></div>
172

    
173
                                <div class="col-lg-12">
174
                                    <f style="color: green" ng-repeat="a in rels.authors  track by $index">{{ a }},</f>
175
                                </div>
176
                                <div class="col-lg-12"><b>PID</b> : {{ rels.targetPID }}</div>
177
                                <div class="col-lg-12"><b>PID Type</b> : {{ rels.targetPIDType }}</div>
178
                            </div>
179
                            <div class="row">
180
                                <div class="col-lg-2">
181
                                    <b>provenance (of this link): </b>
182
                                </div>
183
                                <div class="col-lg-8">
184
                                    <table style="width: 100%">
185
                                        <thead>
186
                                        <tr>
187
                                            <th class="center-align" style="width: 20%">Date Of Collection</th>
188
                                            <th class="center-align" style="width: 20%">Datasource</th>
189
                                            <th class="center-align" style="width: 60%">Action</th>
190
                                        </tr>
191
                                        </thead>
192
                                        <tbody>
193
                                        <tr ng-repeat="d in rels.relation_provenance">
194
                                            <td class="left-align">{{ d.collectionDate }}</td>
195
                                            <td class="left-align">{{ d.name }}</td>
196
                                            <td class="left-align">
197
                                                <div ng-show="d.provisionMode==='system_deducted'"> Typology of target
198
                                                    object derived by the system
199
                                                </div>
200
                                                <div ng-hide="d.provisionMode==='system_deducted'">Relation collected
201
                                                    from {{ d.name }}
202
                                                </div>
203

    
204
                                            </td>
205

    
206

    
207
                                        </tr>
208
                                        </tbody>
209
                                    </table>
210

    
211
                                </div>
212

    
213

    
214
                            </div>
215
                        </div>
216
                    </div>
217

    
218
                </div>
219
                <div role="tabpanel" class="tab-pane fade" id="other" aria-labelledby="dropdown1-tab">
220
                    <div ng-repeat="rels in item.relations">
221
                        <div ng-hide="rels.relatedEntityType==='publication' || rels.relatedEntityType==='dataset' ">
222
                            <div class="row">
223

    
224
                                <div class="col-lg-12"><a href="#/detail/{{ rels.relatedDnetId }}" class="blue-text"> <i
225
                                        style="padding: 10px"
226
                                        class="fa fa-question-circle fa-2x blue-text circle responsive-img"></i><b>Record
227
                                    metadata not available - Pid not resolved</b> </a></div>
228

    
229
                                <div class="col-lg-12">
230
                                    <f style="color: green" ng-repeat="a in rels.authors track by $index">{{ a }},</f>
231
                                </div>
232
                                <div class="col-lg-12"><b>PID</b> : {{ rels.targetPID }}</div>
233
                                <div class="col-lg-12"><b>PID Type</b> : {{ rels.targetPIDType }}</div>
234
                            </div>
235
                            <div class="row">
236
                                <div class="col-lg-2">
237
                                    <b>provenance (of this link): </b>
238
                                </div>
239
                                <div class="col-lg-8">
240
                                    <table style="width: 100%">
241
                                        <thead>
242
                                        <tr>
243
                                            <th class="center-align" style="width: 20%">Date Of Collection</th>
244
                                            <th class="center-align" style="width: 20%">Datasource</th>
245
                                            <th class="center-align" style="width: 60%">Action</th>
246
                                        </tr>
247
                                        </thead>
248
                                        <tbody>
249
                                        <tr ng-repeat="d in rels.relation_provenance">
250
                                            <td class="left-align">{{ d.collectionDate }}</td>
251
                                            <td class="left-align">{{ d.name }}</td>
252
                                            <td class="left-align">
253
                                                <div ng-show="d.provisionMode==='system_deducted'"> Typology of target
254
                                                    object derived by the system
255
                                                </div>
256
                                                <div ng-hide="d.provisionMode==='system_deducted'">Relation collected
257
                                                    from {{ d.name }}
258
                                                </div>
259

    
260
                                            </td>
261

    
262

    
263
                                        </tr>
264
                                        </tbody>
265
                                    </table>
266

    
267
                                </div>
268

    
269

    
270
                            </div>
271
                        </div>
272
                    </div>
273
                </div>
274
            </div>
275
        </div>
276
    </div>
277
</section>
278
<script>
279

    
280
</script>
(6-6/9)