{{ ui.heading(_('Additional Info'), level=3) }} {%- call ui.util.call(ui.table, striped=true, bordered=true) -%} {{ _('Field') }} {{ _('Value') }} {% block package_additional_info %} {% if pkg_dict.url %} {{ _('Source') }} {% if h.is_url(pkg_dict.url) %} {{ pkg_dict.url }} {% 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") }} {%- with datetime_obj=pkg_dict.metadata_modified -%} {% include 'snippets/local_friendly_datetime.html' %} {%- endwith %} {% endif %} {% if pkg_dict.metadata_created %} {{ _("Created") }} {%- with datetime_obj=pkg_dict.metadata_created -%} {% include 'snippets/local_friendly_datetime.html' %} {%- endwith %} {% endif %} {% block extras scoped %} {% for extra in h.sorted_extras(pkg_dict.extras) %} {% set key, value = extra %} {{ _(key|e) }} {{ value }} {% endfor %} {% endblock %} {% endblock %} {%- endcall %}