Fix error when sorting Job list by object.
[ganeti_webmgr.git] / ganeti_web / templates / ganeti / object_log / node_role_change.html
blob5dad96c270d32b26a591b513a621b9d81ab66ece
1 {% with log_item.data as data %}
2 {% if log_item.object_id2 %}
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="{{ log_item.user.get_absolute_url }}">{{log_item.user}}</a>
7 {% else %}
8 {{ log_item.user }}
9 {% endif %}
10 change the role of node {% if log_item.object_id1 %}<a href="{% url node-detail data.cluster_slug data.hostname %}">{{data.hostname}}</a>{% else %}[unknown]{% endif %}
11 {% endwith %}