{% load i18n %}
{% for tag in tags %} {% if object.plan_id and perms.testplans.delete_testplantag or object.case_id and perms.testcases.delete_testcasetag %} {% else %} {% endif %} {% empty %} {% endfor %}
{% trans "Tag" %} {% trans "Plans" %} {% trans "Cases" %} {% trans "Runs" %} {% trans "Action" %}
{{ tag }} {{ tag.num_plans }} {{ tag.num_cases }} {{ tag.num_runs }}{% trans "Remove" %}{% trans "Remove" %}
{% trans "No tag found" %}
{% if object.plan_id and perms.testplans.add_testplantag or object.case_id and perms.testcases.add_testcasetag %}
{% trans "Add Tag" %} {% trans "Add" %}
{% endif %}