summaryrefslogtreecommitdiffstats
path: root/core/modules/locale/templates/locale-translation-last-check.html.twig
blob: 32cd8998f545ce537d681faeaa7ef40223f2260f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{#
/**
 * @file
 * Default theme implementation for the last time we checked for update data.
 *
 * Available variables:
 * - last_checked: Whether or not locale updates have been checked before.
 * - time: The formatted time ago when the site last checked for available
 *   updates.
 * - link: A link to manually check available updates.
 *
 * @see template_preprocess_locale_translation_last_check()
 *
 * @ingroup themeable
 */
#}
<div class="locale checked">
  <p>
  {% if last_checked %}
    {{ 'Last checked: @time ago'|t({'@time': time}) }}
  {% else %}
    {{ 'Last checked: never'|t }}
  {% endif %}
  <span class="check-manually">({{ link }})</span></p>
</div>