Mercurial > hg > isophonics-drupal-site
annotate core/themes/stable/templates/admin/update-version.html.twig @ 9:1fc0ff908d1f
Add another data file
author | Chris Cannam |
---|---|
date | Mon, 05 Feb 2018 12:34:32 +0000 |
parents | 4c8ae668cc8c |
children |
rev | line source |
---|---|
Chris@0 | 1 {# |
Chris@0 | 2 /** |
Chris@0 | 3 * @file |
Chris@0 | 4 * Theme override for the version display of a project. |
Chris@0 | 5 * |
Chris@0 | 6 * Available variables: |
Chris@0 | 7 * - attributes: HTML attributes suitable for a container element. |
Chris@0 | 8 * - title: The title of the project. |
Chris@0 | 9 * - version: A list of data about the latest released version, containing: |
Chris@0 | 10 * - version: The version number. |
Chris@0 | 11 * - date: The date of the release. |
Chris@0 | 12 * - download_link: The URL for the downloadable file. |
Chris@0 | 13 * - release_link: The URL for the release notes. |
Chris@0 | 14 */ |
Chris@0 | 15 #} |
Chris@0 | 16 <div class="{{ attributes.class }} project-update__version"{{ attributes|without('class') }}> |
Chris@0 | 17 <div class="clearfix"> |
Chris@0 | 18 <div class="project-update__version-title layout-column layout-column--quarter">{{ title }}</div> |
Chris@0 | 19 <div class="project-update__version-details layout-column layout-column--quarter"> |
Chris@0 | 20 <a href="{{ version.release_link }}">{{ version.version }}</a> |
Chris@0 | 21 <span class="project-update__version-date">({{ version.date|date('Y-M-d') }})</span> |
Chris@0 | 22 </div> |
Chris@0 | 23 <div class="layout-column layout-column--half"> |
Chris@0 | 24 <ul class="project-update__version-links"> |
Chris@0 | 25 <li class="project-update__download-link"> |
Chris@0 | 26 <a href="{{ version.download_link }}">{{ 'Download'|t }}</a> |
Chris@0 | 27 </li> |
Chris@0 | 28 <li class="project-update__release-notes-link"> |
Chris@0 | 29 <a href="{{ version.release_link }}">{{ 'Release notes'|t }}</a> |
Chris@0 | 30 </li> |
Chris@0 | 31 </ul> |
Chris@0 | 32 </div> |
Chris@0 | 33 </div> |
Chris@0 | 34 </div> |