Skip to content

Commit 5a480b9

Browse files
committed
Add new svg icons
1 parent 8229219 commit 5a480b9

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

web/themes/custom/hoeringsportal/templates/comment/comment.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
</div>
7979
<div class="d-flex mb-2">
8080
<div class="flag-wrapper me-3">{{ content.flag_support_comment }}</div>
81-
<div class="comment-reply"><i class="fa-solid fa-reply me-2"></i><a class="use-ajax" data-dialog-options="{&quot;width&quot;:400}" data-dialog-type="modal" href="{{ path('comment.reply', {'entity_type': 'node', 'entity': comment.entity_id.value[0].target_id, 'field_name': 'field_comments', 'pid': comment.cid.value}) }}">{{ 'Reply'|t({}, {'context' : 'Comment reply '}) }}</a></div>
81+
<div class="comment-reply"><a class="use-ajax" data-dialog-options="{&quot;width&quot;:400}" data-dialog-type="modal" href="{{ path('comment.reply', {entity_type: 'node', entity: comment.entity_id.value[0].target_id, field_name: 'field_comments', pid: comment.cid.value}) }}">{{ include('themes/custom/hoeringsportal/templates/animated-svg/icon-deltag-reply.svg.html.twig') }}{{ 'Reply'|t({}, {context: 'Comment reply '}) }}</a></div>
8282
</div>
8383
{% endif %}
8484
</div>

web/themes/custom/hoeringsportal/templates/content/flag--support-comment.html.twig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* - flaggable: The flaggable entity.
1515
*/
1616
#}
17-
{# Attach the flag CSS library.#}
17+
{# Attach the flag CSS library. #}
1818
{{ attach_library('flag/flag.link') }}
1919

2020
{# Depending on the flag action, set the appropriate action class. #}
@@ -36,6 +36,6 @@
3636

3737
{# Set nofollow to prevent search bots from crawling anonymous flag links #}
3838
{% set attributes = attributes.setAttribute('rel', 'nofollow') %}
39-
<div class="{{classes|join(' ')}}">
40-
<a{{ attributes }}><i class="fa-solid fa-thumbs-up me-2"></i>{{ flagcount(flag, flaggable) }} {{ 'like this'|t }}</a>
39+
<div class="{{ classes|join(' ') }}">
40+
<a{{ attributes }}>{{ include('themes/custom/hoeringsportal/templates/animated-svg/icon-deltag-thumbs-up.svg.html.twig') }}{{ flagcount(flag, flaggable) }} {{ 'like this'|t }}</a>
4141
</div>

0 commit comments

Comments
 (0)