2014-06-13 03:43:12 +00:00
|
|
|
{#
|
|
|
|
/**
|
|
|
|
* @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') %}
|
2015-02-17 13:57:35 +00:00
|
|
|
<span>{{ 'new'|t }}</span>
|
2014-06-13 03:43:12 +00:00
|
|
|
{% elseif status is constant('MARK_UPDATED') %}
|
2015-02-17 13:57:35 +00:00
|
|
|
<span>{{ 'updated'|t }}</span>
|
2014-06-13 03:43:12 +00:00
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|