Update HTML package output to interim metadata standard
[ckanext-datagovau.git] / ckanext / datagovau / templates / package / read_base.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
{% ckan_extends %}
 
{% block links -%}
{{ super() }}
{% endblock -%}
 
{% block head_extras -%}
{{ super() }}
{% endblock -%}
 
{% block package_info %}
<div class="module context-info">
    <div class="module-content">
        <h1 class="heading" property="dct:title">{{ pkg.title or pkg.name }}</h1>
        <div class="nums">
            <dl>
                <dt>{{ _('Followers') }}</dt>
                <dd>{{ h.SI_number_span(h.get_action('dataset_follower_count', {'id': pkg.id})) }}</dd>
            </dl>
        </div>
        <div class="follow_button">
            {{ h.follow_button('dataset', pkg.name) }}
        </div>
    </div>
</div>
{% endblock %}