21 lines
447 B
Twig
21 lines
447 B
Twig
|
{#
|
||
|
/**
|
||
|
* @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') %}
|
||
|
{{ 'New'|t }}
|
||
|
{% elseif status is constant('MARK_UPDATED') %}
|
||
|
{{ 'Updated'|t }}
|
||
|
{% endif %}
|
||
|
{% endif %}
|