- π«π·France andypost
+++ b/core/modules/history/src/Plugin/views/field/HistoryUserTimestamp.php @@ -100,8 +100,15 @@ public function render(ResultRow $values) { + '#access' => ($mark == MARK_NEW || $mark == MARK_UPDATED), +++ b/core/modules/system/templates/mark.html.twig @@ -13,10 +13,10 @@ +{% if status is constant('MARK_NEW') %} ... +{% elseif status is constant('MARK_UPDATED') %} ... +{% elseif status is constant('MARK_READ') %} +++ b/core/themes/classy/templates/content/mark.html.twig @@ -13,8 +13,10 @@ {% if status is constant('MARK_NEW') %} ... {% elseif status is constant('MARK_UPDATED') %} ... + {% elseif status is constant('MARK_READ') %} +++ b/core/themes/stable/templates/content/mark.html.twig @@ -16,5 +16,7 @@ {% elseif status is constant('MARK_UPDATED') %} ... + {% elseif status is constant('MARK_READ') %}
Let's replace constants as well here
- π¬π§United Kingdom catch
I'm still not convinced that this is applicable at all, see for example https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark