"Fossies" - the Fresh Open Source Software Archive

Member "drupal-8.9.10/core/themes/stable/templates/admin/locale-translation-last-check.html.twig" (26 Nov 2020, 638 Bytes) of package /linux/www/drupal-8.9.10.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 {#
    2 /**
    3  * @file
    4  * Theme override for the last time we checked for update data.
    5  *
    6  * Available variables:
    7  * - last_checked: Whether or not locale updates have been checked before.
    8  * - time: The formatted time ago when the site last checked for available
    9  *   updates.
   10  * - link: A link to manually check available updates.
   11  *
   12  * @see template_preprocess_locale_translation_last_check()
   13  */
   14 #}
   15 <div class="locale checked">
   16   <p>
   17   {% if last_checked %}
   18     {% trans %} Last checked: {{ time }} ago {% endtrans %}
   19   {% else %}
   20     {{ 'Last checked: never'|t }}
   21   {% endif %}
   22   <span class="check-manually">({{ link }})</span></p>
   23 </div>