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