{% ckan_extends %} {% block package_additional_info %} {% if h.is_enabled_downloads() %} {{ _('Downloads') }} {{ h.get_package_downloads(pkg_dict.id) }} {% endif %} {% if h.is_enabled_utilizations() %} {{ _('Utilizations') }} {{ h.get_package_utilizations(pkg_dict.id) }} {% endif %} {% if h.is_enabled_resources() %} {{ _('Comments') }} {{ h.get_package_comments(pkg_dict.id) }} {{ _('Rating') }} {{ h.get_package_rating(pkg_dict.id)|round(1) }} {% endif %} {% if h.is_enabled_utilizations() %} {{ _('Issue Resolutions') }} {{ h.get_package_issue_resolutions(pkg_dict.id) }} {% endif %} {% if pkg_dict.url %} {{ _('Source') }} {% if h.is_url(pkg_dict.url) %} {{ h.link_to(pkg_dict.url, pkg_dict.url, rel='foaf:homepage', target='_blank') }} {% else %} {{ pkg_dict.url }} {% endif %} {% endif %} {% if pkg_dict.author_email %} {{ _("Author") }} {{ h.mail_to(email_address=pkg_dict.author_email, name=pkg_dict.author) }} {% elif pkg_dict.author %} {{ _("Author") }} {{ pkg_dict.author }} {% endif %} {% if pkg_dict.maintainer_email %} {{ _('Maintainer') }} {{ h.mail_to(email_address=pkg_dict.maintainer_email, name=pkg_dict.maintainer) }} {% elif pkg_dict.maintainer %} {{ _('Maintainer') }} {{ pkg_dict.maintainer }} {% endif %} {% if pkg_dict.version %} {{ _("Version") }} {{ pkg_dict.version }} {% endif %} {% if h.check_access('package_update',{'id':pkg_dict.id}) %} {{ _("State") }} {{ _(pkg_dict.state) }} {% endif %} {% if pkg_dict.metadata_modified %} {{ _("Last Updated") }} {% snippet 'snippets/local_friendly_datetime.html', datetime_obj=pkg_dict.metadata_modified %} {% endif %} {% if pkg_dict.metadata_created %} {{ _("Created") }} {% snippet 'snippets/local_friendly_datetime.html', datetime_obj=pkg_dict.metadata_created %} {% endif %} {% block extras scoped %} {% for extra in h.sorted_extras(pkg_dict.extras) %} {% set key, value = extra %} {{ _(key|e) }} {{ value }} {% endfor %} {% endblock %} {% endblock %}