Skip to content
Snippets Groups Projects
Commit 72146bee authored by Zan Vidmar's avatar Zan Vidmar Committed by Tiago
Browse files

Issue #3323603 by zanvidmar: Display "Make sticky" and "Unpublish" actions for...

Issue #3323603 by zanvidmar: Display "Make sticky" and "Unpublish" actions for comment in the dropdown.
parent 67909549
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@
{%- endif -%}
{%- endif -%}
{% if links['comment-edit'] or links['comment-delete'] or links.report %}
{% if links['comment-edit'] or links['comment-unpublish'] or links['comment-sticky'] or links['comment-delete'] or links.report %}
<div class="comment__actions pull-right">
<button type="button" data-toggle="dropdown" aria-expanded="false" aria-haspopup="true" class="btn btn-icon-toggle dropdown-toggle" title="{{ 'More options'|t }}">
<svg class="btn-icon icon-gray" aria-hidden="true">
......@@ -87,11 +87,11 @@
<div class="btn comment__reply-btn">
{%- for key, item in links|reverse if key == "comment-reply" -%}
{%- if item.link -%}
{{ item.link }}
{{ item.link }}
{%- elseif item.text_attributes -%}
<span{{ item.text_attributes }}>{{ item.text }}</span>
{%- else -%}
{{ item.text }}
{{ item.text }}
{%- endif -%}
{%- endfor -%}
</div>
......
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