Chris@0: {# Chris@0: /** Chris@0: * @file Chris@0: * Default theme implementation for the modules listing page. Chris@0: * Chris@0: * Displays a list of all packages in a project. Chris@0: * Chris@0: * Available variables: Chris@0: * - modules: Contains multiple module instances. Each module contains: Chris@0: * - attributes: Attributes on the row. Chris@0: * - checkbox: A checkbox for enabling the module. Chris@0: * - name: The human-readable name of the module. Chris@0: * - id: A unique identifier for interacting with the details element. Chris@0: * - enable_id: A unique identifier for interacting with the checkbox element. Chris@0: * - description: The description of the module. Chris@0: * - machine_name: The module's machine name. Chris@0: * - version: Information about the module version. Chris@0: * - requires: A list of modules that this module requires. Chris@0: * - required_by: A list of modules that require this module. Chris@0: * - links: A list of administration links provided by the module. Chris@0: * Chris@0: * @see template_preprocess_system_modules_details() Chris@0: * Chris@0: * @ingroup themeable Chris@0: */ Chris@0: #} Chris@14:
{{ 'Installed'|t }} | Chris@0:{{ 'Name'|t }} | Chris@0:{{ 'Description'|t }} | Chris@0:
---|---|---|
Chris@0: {{ module.checkbox }} Chris@0: | Chris@0:Chris@0: Chris@0: | Chris@0:
Chris@0:
Chris@0:
Chris@0: {{ module.description }}Chris@0:
Chris@0:
Chris@0:
Chris@0:
Chris@0:
Chris@0:
Chris@0: {% if module.links %}
Chris@0: {{ 'Machine name: @machine-name'|t({'@machine-name': module.machine_name }) }}
Chris@0: {% if module.version %}
Chris@0: {{ 'Version: @module-version'|t({'@module-version': module.version }) }}
Chris@0: {% endif %}
Chris@0: {% if module.requires %}
Chris@0: {{ 'Requires: @module-list'|t({'@module-list': module.requires }) }}
Chris@0: {% endif %}
Chris@0: {% if module.required_by %}
Chris@0: {{ 'Required by: @module-list'|t({'@module-list': module.required_by }) }}
Chris@0: {% endif %}
Chris@0:
Chris@0: {% for link_type in ['help', 'permissions', 'configure'] %}
Chris@0: {{ module.links[link_type] }}
Chris@0: {% endfor %}
Chris@0:
Chris@0: {% endif %}
Chris@0: |
Chris@0: