camaleon-8.x-1.x-dev/templates/content/mark.html.twig
templates/content/mark.html.twig
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | {# /** * @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 %} |