Skip to content
Snippets Groups Projects
Commit 78e0d305 authored by Adrian Lorenc's avatar Adrian Lorenc
Browse files

ISAICP-9575: Use anonymous_comment_links pseudo field.

parent f4e8b6df
No related branches found
No related tags found
1 merge request!215Release 2.3.2
{#
/**
* @file
* Default theme implementation of anonymous comment links.
*
* @ingroup themeable
*/
#}
{% set classes = [
'mt-3',
'bg-light',
'p-3',
'text-center',
] %}
<div{{ attributes.addClass(classes) }}>
<a href="{{ path('cas.login') }}">Login</a> or
<a href="{{ path('user.register') }}">create an account</a> to comment.
</div>
......@@ -20,4 +20,5 @@
{{ content.flag_subscribe_discussions }}
</div>
{{ content.field_replies }}
{{ content.anonymous_comment_links }}
{{ content.field_shared_in }}
......@@ -21,4 +21,5 @@
{{ content.share_link }}
</div>
{{ content.field_comments }}
{{ content.anonymous_comment_links }}
{{ content.field_shared_in }}
......@@ -116,4 +116,5 @@
</div>
{% endif %}
{{ content.field_comments }}
{{ content.anonymous_comment_links }}
{{ content.field_shared_in }}
......@@ -101,5 +101,6 @@
{{ content.share_link }}
</div>
{{ content.field_comments }}
{{ content.anonymous_comment_links }}
{{ content.field_news_referenced_solution }}
{{ content.field_shared_in }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment