{# /** * @file * Default theme implementation for the last time update data was checked. * * Available variables: * - last: The timestamp that the site was last checked for updates. * - time: The formatted time since the site last checked for updates. * - link: A link to check for updates manually. * * @see \Drupal\update\Hook\UpdateThemeHooks::preprocessUpdateLastCheck() * * @ingroup themeable */ #}
{% if last %} {{ 'Last checked: @time ago'|t({'@time': time}) }} {% else %} {{ 'Last checked: never'|t }} {% endif %} ({{ link }})