diff --git a/core/modules/comment/templates/comment.html.twig b/core/modules/comment/templates/comment.html.twig index 3a7d19b..933cc4d 100644 --- a/core/modules/comment/templates/comment.html.twig +++ b/core/modules/comment/templates/comment.html.twig @@ -67,43 +67,39 @@ #} - {% if title %} - {{ title_prefix }} - {% endif %} - {# - Hide the "new" indicator by default, let a piece of JavaScript ask - the server which comments are new for the user. Rendering the final - "new" indicator here would break the render cache. + Hide the "new" indicator by default, let a piece of JavaScript ask the + server which comments are new for the user. Rendering the final "new" + indicator here would break the render cache. #} - {% if title %} + {{ title_prefix }} {{ title }} {{ title_suffix }} {% endif %} - -
+
{{ user_picture }}

{{ submitted }}

{# - Indicate the semantic relationship between parent and child comments - for accessibility. The list is difficult to navigate in a screen - reader without this information. + Indicate the semantic relationship between parent and child comments for + accessibility. The list is difficult to navigate in a screen reader + without this information. #} {% if parent %}

{{ parent }}

{% endif %} {{ permalink }} -
+ {{ content|without('links') }} + {% if content.links %} + {{ content.links }} + {% endif %} - {% if content.links %} - {{ content.links }} - {% endif %} + diff --git a/core/themes/bartik/templates/comment.html.twig b/core/themes/bartik/templates/comment.html.twig index 21cca3c..d4f4b3d 100644 --- a/core/themes/bartik/templates/comment.html.twig +++ b/core/themes/bartik/templates/comment.html.twig @@ -73,6 +73,18 @@ ] %}
+ {# + Hide the "new" indicator by default, let a piece of JavaScript ask the + server which comments are new for the user. Rendering the final "new" + indicator here would break the render cache. + #} + + {% if title %} + {{ title_prefix }} + {{ title }} + {{ title_suffix }} + {% endif %} +
{{ user_picture }} @@ -81,9 +93,9 @@ {# - // Indicate the semantic relationship between parent and child comments - // for accessibility. The list is difficult to navigate in a screen - // reader without this information. + Indicate the semantic relationship between parent and child comments + for accessibility. The list is difficult to navigate in a screen + reader without this information. #} {% if parent %}

{{ parent }}

@@ -91,18 +103,8 @@
+
- {# - Hide the "new" indicator by default, let a piece of JavaScript ask - the server which comments are new for the user. Rendering the final - "new" indicator here would break the render cache. - #} - - {% if title %} - {{ title_prefix }} - {{ title }} - {{ title_suffix }} - {% endif %} {{ content|without('links') }}
diff --git a/core/themes/classy/templates/content/comment.html.twig b/core/themes/classy/templates/content/comment.html.twig index 1d56d08..4ea14ca 100644 --- a/core/themes/classy/templates/content/comment.html.twig +++ b/core/themes/classy/templates/content/comment.html.twig @@ -73,43 +73,39 @@ ] %} - {% if title %} - {{ title_prefix }} - {% endif %} - {# - Hide the "new" indicator by default, let a piece of JavaScript ask - the server which comments are new for the user. Rendering the final - "new" indicator here would break the render cache. + Hide the "new" indicator by default, let a piece of JavaScript ask the + server which comments are new for the user. Rendering the final "new" + indicator here would break the render cache. #} - {% if title %} + {{ title_prefix }} {{ title }} {{ title_suffix }} {% endif %} - -
+
{{ user_picture }} {# - Indicate the semantic relationship between parent and child comments - for accessibility. The list is difficult to navigate in a screen - reader without this information. + Indicate the semantic relationship between parent and child comments for + accessibility. The list is difficult to navigate in a screen reader + without this information. #} {% if parent %}

{{ parent }}

{% endif %} {{ permalink }} -
+ {{ content|without('links') }} + {% if content.links %} + {{ content.links }} + {% endif %} - {% if content.links %} - {{ content.links }} - {% endif %} +