{% comment %} XXX TODO JMG : never use {{ content.id }} ad css id >> need also some refactoring in comment.js {% endcomment %} {% load i18n %} {% with content.comments.count as comment_count %}
  • 2 %} class="view-all-comments" {% else %} {% if content.publisher.can_publish and not comment_count %} class="add-comment" {% else %} class="few-comments" {% endif %} {% endif %} > {% blocktrans %}{{comment_count}} comments{% endblocktrans %} 2 %} title="{% blocktrans %}View all {{comment_count}} comments{% endblocktrans %}" {% else %} {% if content.publisher.can_publish and not comment_count %} title="{% blocktrans %}Comment{% endblocktrans %}" {% endif %} {% endif %} href="#"> 
  • {% endwith %}