Work on unified metadata output
[ckanext-datagovau.git] / ckanext / datagovau / templates / package / read.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
{% ckan_extends %}
 
{% block package_additional_info %}
{{ super() }}
 
{# Add our custom field to the dataset read page. #}
{% if pkg.get('agency_program') %}
<section class="resources module-content">
    <p><strong>Agency Program</strong>: {{ pkg.agency_program }}</p>
</section>
{% endif %}
{% if pkg.get('contact_point') %}
<section class="resources module-content">
    <p><strong>Contact Point</strong>: {{ pkg.contact_point }}</p>
</section>
{% endif %}
{% if pkg.get('spatial_coverage') %}
<section class="resources module-content">
    <p><strong>Geospatial Coverage</strong>: {{ pkg.spatial_coverage }}</p></section>
{% endif %}
{% if pkg.get('granularity') %}
<section class="resources module-content">
    <p><strong>Data Granularity</strong>: {{ pkg.granularity }}</p></section>
{% endif %}
{% if pkg.get('jurisdiction') %}
<section class="resources module-content">
    <p><strong>Government Jurisdiction</strong>: {{ pkg.jurisdiction }}</p></section>
{% endif %}
{% if pkg.get('temporal_coverage') %}
<section class="resources module-content">
    <p><strong>Temporal Coverage</strong>: {{ pkg.temporal_coverage }}</p></section>
{% endif %}
{% if pkg.get('data_state') %}
<section class="resources module-content">
    <p><strong>Data State</strong>: {{ pkg.data_state }}</p></section>
{% endif %}
{% if pkg.get('update_freq') %}
<section class="resources module-content">
    <p><strong>Update Frequency</strong>: {{ pkg.update_freq }}</p></section>
 
{% endif %}
 
{% endblock %}