{#
Displays a sidebar module with information for given resource

res    - The resource dict

Example:

  {% snippet "package/snippets/resource_info.html", res=res %}

#}

<div class="module context-info">
  <div class="module-content">
    <div class="module-heading">
      {% block page_title %}
        <h2 class="heading">{{ h.resource_display_name(res) or res.id }}</h2>
      {% endblock %}
    </div>
    <div class="package-info">
      {% block resource_info %}
        <div class="nums">
          <dl>
            <dt>{{ _('Format') }}</dt>
            <dd>{{ h.get_translated(res, 'format') }}</dd>
          </dl>
        </div>
      {% endblock %}
    </div>
  </div>
</div>