{# tickets/form.html — open a ticket or edit one (tickets.service): its title, area, description, hosts and what it is about, and what it links to. A new ticket opened from an alert or anomaly arrives filled in and linked. #} {% extends "base.html" %} {% from "_macros.html" import crumbs, page_header %} {% set title = ("Edit #" ~ ticket.id) if ticket else "Open a ticket" %} {% block title %}{{ title }} — Tickets — Steward{% endblock %} {% block breadcrumb %}{{ crumbs([("Tickets", "/tickets/")] + ([("#" ~ ticket.id, "/tickets/" ~ ticket.id)] if ticket else []) + [(title if not ticket else "Edit", "")]) }}{% endblock %} {% block content %} {{ page_header(title, "A known problem, open until someone resolves it.") }} {% if error %}{% endif %}
{{ csrf_field() }}

The problem

What part of the infrastructure it is about.
An alert or anomaly on this resource reads as a known issue while the ticket is open.

Hosts

The ticket shows on each ticked host's page.

{% if hosts %}
{% for h in hosts %} {% endfor %}
{% else %}

No hosts yet.

{% endif %}
{% if links %}
{% for l in links %} {% endfor %}
{% if ticket %}

Untick one to unlink it.

{% endif %}
{% endif %}
Cancel
{% endblock %}