hacked-project-summary.html.twig in Hacked! 8.2
Default theme implementation for the version display of a project.
Available variables:
- attributes: HTML attributes suitable for a container element.
- title: The title of the project.
- version: A list of data about the latest released version, containing:
- version: The version number.
- date: The date of the release.
- download_link: The URL for the downloadable file.
- release_link: The URL for the release notes.
1 theme call to hacked-project-summary.html.twig
- hacked_preprocess_update_project_status in ./
hacked.report.inc - Prepares variables for hacked project status templates.
File
templates/hacked-project-summary.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation for the version display of a project.
- *
- * Available variables:
- * - attributes: HTML attributes suitable for a container element.
- * - title: The title of the project.
- * - version: A list of data about the latest released version, containing:
- * - version: The version number.
- * - date: The date of the release.
- * - download_link: The URL for the downloadable file.
- * - release_link: The URL for the release notes.
- *
- * @ingroup themeable
- */
- #}
- <div class="{{ attributes.class }} project-update__version"{{ attributes|without('class') }}>
- <div class="clearfix">
- <div class="project-update__version-title layout-column layout-column--three-quarter">{{ changes }}</div>
- <div class="layout-column layout-column--quarter">
- <ul class="project-update__version-links">
- <li class="project-update__download-link">
- <a href="{{ link }}">{{ 'View details of changes'|t }}</a>
- </li>
- </ul>
- </div>
- </div>
- </div>