view core/modules/system/templates/mark.html.twig @ 15:e200cb7efeb3

Update Drupal core to 8.5.3 via Composer
author Chris Cannam
date Thu, 26 Apr 2018 11:26:54 +0100
parents 4c8ae668cc8c
children
line wrap: on
line source
{#
/**
 * @file
 * Default theme implementation for a marker for new or updated content.
 *
 * Available variables:
 * - status: Number representing the marker status to display. Use the constants
 *   below for comparison:
 *   - MARK_NEW
 *   - MARK_UPDATED
 *   - MARK_READ
 *
 * @ingroup themeable
 */
#}
{% if logged_in %}
  {% if status is constant('MARK_NEW') %}
    {{ 'New'|t }}
  {% elseif status is constant('MARK_UPDATED') %}
    {{ 'Updated'|t }}
  {% endif %}
{% endif %}