{% load i18n %} {% load common_filters %} {% load wikitags %} {% comment %} {% endcomment %} {% comment %} {% endcomment %} {% if batch_ann %} {% for t in batchAnns.Tag %} {% with tag=t.ann links=t.links can_unlink_count=t.unlink can_remove=t.can_remove added_by=t.added_by %} {% include "webclient/annotations/tag.html" %} {% endwith %} {% endfor %} {% else %} {% for tag in tags %} {% with can_remove=tag.link.canDelete added_by=tag.link.getDetails.getOwner.id %} {% include "webclient/annotations/tag.html" %} {% endwith %} {% endfor %} {% endif %}