Ticket #3957 (partial) - ganeti_webmgr uses ganeti python namespace:
[ganeti_webmgr.git] / ganeti_web / templates / ganeti / object_log / vm_stop.html
blobd56a881757133595c8ee3d345b4a838c50085cfe
1 {% with log_item.data as data %}
2 {% if log_item.object2 %}
3 <a href="{% url job-detail data.cluster_slug data.job_id %}">Job #{{ data.job_id }}</a> -
4 {% endif %}
5 {% if user.is_superuser %}
6 <a href="{% url user-detail log_item.user.pk %}">{{log_item.user}}</a>
7 {% else %}
8 {{ log_item.user }}
9 {% endif %}
10 stopped virtual machine <a href="{% url instance-detail data.cluster_slug data.hostname %}">{{data.hostname}}</a>
11 {% endwith %}