Mercurial > hg > isophonics-drupal-site
view core/themes/classy/templates/content/mark.html.twig @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line source
{# /** * @file * Theme override 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 */ #} {% if logged_in %} {% if status is constant('MARK_NEW') %} <span class="marker">{{ 'New'|t }}</span> {% elseif status is constant('MARK_UPDATED') %} <span class="marker">{{ 'Updated'|t }}</span> {% endif %} {% endif %}