-
Notifications
You must be signed in to change notification settings - Fork 1
/
additional_info.html
89 lines (82 loc) · 3.01 KB
/
additional_info.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<section class="additional-info">
<h3>{{ _('Metadata') }}</h3>
<table class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th scope="col">{{ _('Field') }}</th>
<th scope="col">{{ _('Value') }}</th>
</tr>
</thead>
<tbody>
{% block package_additional_info %}
<tr>
<th scope="row" class="dataset-label">{{ _('Maintainer') }}</th>
<td class="dataset-details">{{ pkg_dict.maintainer or '-' }}</td>
</tr>
<tr>
<th scope="row" class="dataset-label">{{ _('Maintainer Email') }}</th>
<td class="dataset-details">{{ pkg_dict.maintainer_email or '-' }}</td>
</tr>
<tr>
<th scope="row" class="dataset-label">{{ _('Openness Rating') }}</th>
<td class="dataset-details">{{ pkg_dict.openness_rating or '-' }}</td>
</tr>
<tr>
<th scope="row" class="dataset-label">{{ _('Quality') }}</th>
<td class="dataset-details">{{ pkg_dict.quality or '-' }}</td>
</tr>
<tr>
<th scope="row" class="dataset-label">{{ _('Published on behalf of') }}</th>
<td class="dataset-details">{{ pkg_dict.published_on_behalf_of or '-' }}</td>
</tr>
<tr>
<th scope="row" class="dataset-label">{{ _('Usage Guidance') }}</th>
<td class="dataset-details">{{ pkg_dict.usage_guidance or '-' }}</td>
</tr>
<tr>
<th scope="row" class="dataset-label">{{ _('Category') }}</th>
<td class="dataset-details">{{ pkg_dict.category or '-' }}</td>
</tr>
<tr>
<th scope="row" class="dataset-label">{{ _('Theme') }}</th>
<td class="dataset-details">{{ pkg_dict.theme or '-' }}</td>
</tr>
<tr>
<th scope="row" class="dataset-label">{{ _('Standard Rating') }}</th>
<td class="dataset-details">{{ pkg_dict.standard_rating or '-' }}</td>
</tr>
<tr>
<th scope="row" class="dataset-label">{{ _('Standard Name') }}</th>
<td class="dataset-details">{{ pkg_dict.standard_name or '-' }}</td>
</tr>
<tr>
<th scope="row" class="dataset-label">{{ _('Standard Version') }}</th>
<td class="dataset-details">{{ pkg_dict.standard_version or '-' }}</td>
</tr>
<tr>
<th scope="row" class="dataset-label">{{ _('Needs Approval') }}</th>
<td class="dataset-details">{{ pkg_dict.needs_approval or '-' }}</td>
</tr>
{% endblock %}
</tbody>
</table>
<h3>{{ _('Custom Metadata') }}</h3>
<table class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th scope="col">{{ _('Field') }}</th>
<th scope="col">{{ _('Value') }}</th>
</tr>
</thead>
<tbody>
{% for extra in pkg_dict.get('extras', []) %}
{% if not extra['key'].startswith('harvest_') %}
<tr>
<th scope="row" class="dataset-label">{{ extra['key'] }}</th>
<td class="dataset-details">{{ extra['value'] }}</td>
</tr>
{% endif %}
{% endfor %}
</tbody>
</table>
</section>