{# Displays a sidebard module with information for given package pkg - The showcase package dict that owns the resources. Example: {% snippet "package/snippets/info.html", pkg=pkg %} #} {% block package_info %} {% if pkg %} {% block package_info_inner %} {% block heading %} {{ pkg.title or pkg.name }} {% endblock %} {% if pkg.author %} Submitted by {{ pkg.author }} {% endif %} {% if pkg.url %} {{ _('Launch website') }} {% endif %} {% endblock %} {{ _('Datasets in Showcase') }} {% if c.showcase_pkgs %} {% for package in c.showcase_pkgs %} {% set truncate_title = truncate_title or 80 %} {% set title = package.title or package.name %} {{ h.link_to(h.truncate(title, truncate_title), h.url_for(controller='package', action='read', id=package.name)) }} {% endfor %} {% else %} There are no Datasetes in this Showcase {% endif %} {% endif %} {% endblock %}
{{ pkg.author }}
There are no Datasetes in this Showcase