4 * Default theme implementation for the version display of a project.
7 * - attributes: HTML attributes suitable for a container element.
8 * - title: The title of the project.
9 * - version: A list of data about the latest released version, containing:
10 * - version: The version number.
11 * - date: The date of the release.
12 * - download_link: The URL for the downloadable file.
13 * - release_link: The URL for the release notes.
18 <div class="{{ attributes.class }} project-update__version"{{ attributes|without('class') }}>
19 <div class="clearfix">
20 <div class="project-update__version-title layout-column layout-column--quarter">{{ title }}</div>
21 <div class="project-update__version-details layout-column layout-column--quarter">
22 <a href="{{ version.release_link }}">{{ version.version }}</a>
23 <span class="project-update__version-date">({{ version.date|date('Y-M-d') }})</span>
25 <div class="layout-column layout-column--half">
26 <ul class="project-update__version-links">
27 <li class="project-update__download-link">
28 <a href="{{ version.download_link }}">{{ 'Download'|t }}</a>
30 <li class="project-update__release-notes-link">
31 <a href="{{ version.release_link }}">{{ 'Release notes'|t }}</a>