{% for tool in tool_summary %} {% if tool.in_use %} {# Output the operator & user of the tool. If the person viewing this page is a staff member, then also allow them to force the operator off the tool. #} {% else %} {% endif %} {% endfor %}
Tool User In use since...
{{ tool.get_tool_info_html|safe }} {# Output the state of the tool, summarizing any associated problems. #} {% if tool.in_use %} {% endif %} {% if tool.delayed_logoff_in_progress %} {% endif %} {% if tool.scheduled_outage %} {% endif %} {% if tool.scheduled_partial_outage %} {% endif %} {% if tool.problematic %} {% endif %} {% if tool.operational == False %} {% endif %} {% if tool.required_resource_is_unavailable %} {% endif %} {% if tool.nonrequired_resource_is_unavailable %} {% endif %} {% if user.is_staff or user.is_user_office %} {% endif %} {{ tool.user }} {{ tool.in_use_since|date:"MONTH_DAY_FORMAT" }} @ {{ tool.in_use_since|time }}