Chris@0: {# Chris@0: /** Chris@0: * @file Chris@0: * Default theme implementation for the content of an administrative block. Chris@0: * Chris@0: * Available variables: Chris@0: * - content: A list containing information about the block. Each element Chris@0: * of the array represents an administrative menu item, and must at least Chris@0: * contain the keys 'title', 'link_path', and 'localized_options', which are Chris@0: * passed to l(). A 'description' key may also be provided. Chris@0: * - attributes: HTML attributes to be added to the element. Chris@0: * - compact: Boolean indicating whether compact mode is turned on or not. Chris@0: * Chris@0: * @see template_preprocess_admin_block_content() Chris@0: * Chris@0: * @ingroup themeable Chris@0: */ Chris@0: #} Chris@0: {% Chris@0: set classes = [ Chris@0: 'list-group', Chris@0: compact ? 'compact', Chris@0: ] Chris@0: %} Chris@0: {% if content %} Chris@0: Chris@0: {% for item in content %} Chris@0: Chris@0: {% if item.description %} Chris@0:
{{ item.description }}
Chris@0: {% endif %} Chris@0: {% endfor %} Chris@0: Chris@0: {% endif %}