Drupal investigation

update-last-check.html.twig 546B

123456789101112131415161718192021222324
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for the last time update data was checked.
  5. *
  6. * Available variables:
  7. * - last: The timestamp that the site was last checked for updates.
  8. * - time: The formatted time since the site last checked for updates.
  9. * - link: A link to check for updates manually.
  10. *
  11. * @see template_preprocess_update_last_check()
  12. *
  13. * @ingroup themeable
  14. */
  15. #}
  16. <p>
  17. {% if last %}
  18. {{ 'Last checked: @time ago'|t({'@time': time}) }}
  19. {% else %}
  20. {{ 'Last checked: never'|t }}
  21. {% endif %}
  22. ({{ link }})
  23. </p>