You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
503 B
21 lines
503 B
1 year ago
|
{#
|
||
|
/**
|
||
|
* @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 %}
|