diff --git a/core/modules/system/templates/mark.html.twig b/core/modules/system/templates/mark.html.twig index 6da921a..876bbaa 100644 --- a/core/modules/system/templates/mark.html.twig +++ b/core/modules/system/templates/mark.html.twig @@ -4,19 +4,12 @@ * 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 + * - status: The status message to display. + * - type: The status message to display. * * @ingroup themeable */ #} {% if logged_in %} - {% if status is constant('MARK_NEW') %} - {{ 'new'|t }} - {% elseif status is constant('MARK_UPDATED') %} - {{ 'updated'|t }} - {% endif %} + {{ status }} {% endif %} diff --git a/core/themes/bartik/templates/node.html.twig b/core/themes/bartik/templates/node.html.twig index e77a77c..239c3f9 100644 --- a/core/themes/bartik/templates/node.html.twig +++ b/core/themes/bartik/templates/node.html.twig @@ -36,7 +36,6 @@ * - node--promoted: Appears on nodes promoted to the front page. * - node--sticky: Appears on nodes ordered above other non-sticky nodes in * teaser listings. - * admins. * - title_attributes: Same as attributes, except applied to the main title * tag that appears in the template. * - content_attributes: Same as attributes, except applied to the main