{% if machine %}
*{{ machine.serial_number }}*
{% for name, source_names in machine.names_with_sources.items() %}
*{{ name }}* ({{ source_names|sort|join(', ') }})
{% endfor %}
{{ machine.get_url() }}
{% endif %}

{% if event %}
*{{ event.get_event_type_display() }}*
> {{ metadata.uuid }}
{% if metadata.created_at %}
> {{ metadata.created_at.strftime("%Y-%m-%d %H:%M:%S") }}
{% endif %}
{% endif %}

{% block extra %}
{% endblock %}
