{% comment %} a button for a comment reaction {% endcomment %} {% load sekizai_tags %} {% load chats %} {% block button %} {% with reactions=commentreaction.users.count %} {% if reactions %} {% endif %} {% endwith %} {% endblock button%} {% block jscode %} {% addtoblock "js" %} {% if user|can_post_comment:channel %} {% endif %} {% endaddtoblock %} {% addtoblock "js" %} {% if user|can_post_comment:channel %} {% endif %} {% endaddtoblock %} {% endblock jscode %}