mark.html.twig 503 B

1234567891011121314151617181920
  1. {#
  2. /**
  3. * @file
  4. * Theme override for a marker for new or updated content.
  5. *
  6. * Available variables:
  7. * - status: Number representing the marker status to display. Use the constants
  8. * below for comparison:
  9. * - MARK_NEW
  10. * - MARK_UPDATED
  11. * - MARK_READ
  12. */
  13. #}
  14. {% if logged_in %}
  15. {% if status is constant('MARK_NEW') %}
  16. <span class="marker">{{ 'New'|t }}</span>
  17. {% elseif status is constant('MARK_UPDATED') %}
  18. <span class="marker">{{ 'Updated'|t }}</span>
  19. {% endif %}
  20. {% endif %}