{% extends "base.html" %} {% load i18n %} {% load static %} {% load bootstrap_icons %} {% block title %}{% trans "Tags" %}{% endblock %} {% block page_heading %}{% trans "Tags" %}{% endblock page_heading %} {% block content %}
{% trans "The tags of VMs and hosts. A tag is made when it is first given, on a VM's Options tab or a host's form." %}
{% if not tags %}{% trans "No tags yet" %}
{% else %}| {% trans "Tag" %} | {% trans "VMs" %} | {% trans "Hosts" %} | {% trans "Actions" %} |
|---|---|---|---|
| {% include 'common/tag_badge.html' with tag=tag.name %} | {# the VM list or the Computes page, showing the tag's only #}{% if tag.vm_count %}{{ tag.vm_count }}{% else %}0{% endif %} | {% if tag.host_count %}{{ tag.host_count }}{% else %}0{% endif %} | {% trans "Rename" %} {% trans "Delete" %} |